private void addUrlIncludeParams(StringBuilder b, String paramName, Set<Include> theList) { ArrayList<Include> list = new ArrayList<>(theList); list.sort(new IncludeComparator()); for (Include nextInclude : list) { addUrlParamSeparator(b); b.append(paramName); b.append('='); b.append(UrlUtil.escapeUrlParam(nextInclude.getParamType())); b.append(':'); b.append(UrlUtil.escapeUrlParam(nextInclude.getParamName())); if (isNotBlank(nextInclude.getParamTargetType())) { b.append(':'); b.append(nextInclude.getParamTargetType()); } } }
StringBuilder b = new StringBuilder(); String paramType = getParamType(); String paramName = getParamName(); if (isBlank(paramType) || isBlank(paramName)) {
@Override public int compare(Include theO1, Include theO2) { int retVal = StringUtils.compare(theO1.getParamType(), theO2.getParamType()); if (retVal == 0) { retVal = StringUtils.compare(theO1.getParamName(), theO2.getParamName()); } if (retVal == 0) { retVal = StringUtils.compare(theO1.getParamTargetType(), theO2.getParamTargetType()); } return retVal; }
String resType = nextInclude.getParamType(); if (isBlank(resType)) { continue;
StringBuilder b = new StringBuilder(); String paramType = getParamType(); String paramName = getParamName(); if (isBlank(paramType) || isBlank(paramName)) {
String resType = nextInclude.getParamType(); if (isBlank(resType)) { continue;