break; default: scopeStr = s.getName(); break;
buffer.append(dnScope.getName()); buffer.append("', returnRelativeDNs="); buffer.append(returnRelativeDNs);
buffer.append(dnScope.getName()); buffer.append("', returnRelativeDNs="); buffer.append(returnRelativeDNs);
/** * Creates an argument for a search scope value. * * @param s The search scope value for the argument. It may be * {@code null}. * @param comment A comment that may help clarify the argument. It may * be {@code null} if there should be no comment. * * @return The argument that was created. */ public static ToCodeArgHelper createScope(final SearchScope s, final String comment) { if (s == null) { return new ToCodeArgHelper("(SearchScope) null", comment); } final SearchScope definedScope = SearchScope.definedValueOf(s.intValue()); if (definedScope == null) { return new ToCodeArgHelper("SearchScope.valueOf(" + s.intValue() + ')', comment); } else { return new ToCodeArgHelper("SearchScope." + definedScope.getName(), comment); } }
/** * Creates an argument for a search scope value. * * @param s The search scope value for the argument. It may be * {@code null}. * @param comment A comment that may help clarify the argument. It may * be {@code null} if there should be no comment. * * @return The argument that was created. */ public static ToCodeArgHelper createScope(final SearchScope s, final String comment) { if (s == null) { return new ToCodeArgHelper("(SearchScope) null", comment); } final SearchScope definedScope = SearchScope.definedValueOf(s.intValue()); if (definedScope == null) { return new ToCodeArgHelper("SearchScope.valueOf(" + s.intValue() + ')', comment); } else { return new ToCodeArgHelper("SearchScope." + definedScope.getName(), comment); } }
out(p.getFirst().getName(), ": ", p.getSecond(), " (", decimalFormat.format(percent), "%)");
new SearchResult(messageID, ResultCode.TIMEOUT, ERR_SEARCH_CLIENT_TIMEOUT.get(responseTimeout, messageID, baseDN, scope.getName(), filter.toString(), connection.getHostPort()), null, null, entryList, referenceList, numEntries,
new SearchResult(messageID, ResultCode.TIMEOUT, ERR_SEARCH_CLIENT_TIMEOUT.get(responseTimeout, messageID, baseDN, scope.getName(), filter.toString(), connection.getHostPort()), null, null, entryList, referenceList, numEntries,
scope.getName(), filter.toString(), connection.getHostPort()));
scope.getName(), filter.toString(), connection.getHostPort()));