code: protected UrlPatternChosenBox adjustUrlPatternByMethodNameWithoutParam(String methodName) {
          if (methodName.equals("index")) {
              return new UrlPatternChosenBox("", "", /*non-specified*/false); // empty if index to avoid '/index/' hit
          } else {
              return new UrlPatternChosenBox(methodName, "", /*non-specified*/false).withMethodPrefix();
          }
      }
docs: -------------