- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 320 for Docstring (0.04 sec)
-
BadWordService.java
private void addToList(final List<String> list, final Object value) { L173: if (value == null) { L174: list.add(StringUtil.EMPTY); L175: } else { L176: list.add(value.toString()); L177: } L178: } L179: }); L180: L181: csvWriter.flush(); L182: } catch (final IOException e) { L183: logger.warn("Failed to write a sugget bad word.", e); L184: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.3K bytes -
BsScheduledJob.java
sb.append(dm).append(updatedBy); L164: sb.append(dm).append(updatedTime); L165: if (sb.length() > dm.length()) { L166: sb.delete(0, dm.length()); L167: } L168: sb.insert(0, "{").append("}"); L169: return sb.toString(); L170: } L171: L172: // =================================================================================== L173: // Accessor L174: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 9.3K bytes -
IndexUpdateCallbackImpl.java
CrawlingInfoHelper crawlingInfoHelper = ComponentUtil.getCrawlingInfoHelper(); L94: dataMap.put(fessConfig.getIndexFieldId(), crawlingInfoHelper.generateId(dataMap)); L95: L96: final String url = dataMap.get(fessConfig.getIndexFieldUrl()).toString(); L97: L98: if (fessConfig.getIndexerClickCountEnabledAsBoolean()) { L99: addClickCountField(dataMap, url, fessConfig.getIndexFieldClickCount()); L100: } L101: L102: if (fessConfig.getIndexerFavoriteCountEnabledAsBoolean())...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.9K bytes -
EncodingFilter.java
locationBuf.append(urlCodec.encode(value, encoding)); L109: } L110: L111: } L112: final HttpServletResponse res = (HttpServletResponse) response; L113: res.sendRedirect(locationBuf.toString()); L114: return; L115: } L116: } L117: L118: chain.doFilter(request, response); L119: } L120: L121: protected Map<String, String[]> getParameterMapFromQueryString(final HttpServletRequest request, final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.9K bytes -
FessBaseAction.java
StringBuilder(100); L218: Throwable current = t; L219: while (current != null) { L220: buf.append(current.getLocalizedMessage()).append(' '); L221: current = current.getCause(); L222: } L223: return buf.toString(); L224: } L225: L226: public static boolean isCheckboxEnabled(final String value) { L227: if (value == null) { L228: return false; L229: } L230: return Constants.ON.equalsIgnoreCase(value) || Constants.TRUE...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 9.3K bytes -
ActivityHelper.java
valueMap.entrySet().stream().forEach(e -> buf.append(",\"labels.").append(e.getKey()).append("\":\"") L157: .append(StringEscapeUtils.escapeJson(e.getValue())).append('"')); L158: buf.append('}'); L159: printLog(buf.toString()); L160: } L161: L162: protected void printLog(final String message) { L163: logger.info(message); L164: } L165: L166: protected String getClientIp() { L167: return LaRequestUtil.getOptionalRequest().map(req -> Compone...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 7.7K bytes -
EsAbstractBehavior.java
L535: if (value instanceof String[]) { L536: return (String[]) value; L537: } else if (value instanceof List) { L538: return ((List<?>) value).stream().map(v -> v.toString()).toArray(n -> new String[n]); L539: } L540: String str = DfTypeUtil.toString(value); L541: if (str == null) { L542: return null; L543: } L544: return new String[] { str }; L545: } L546: L547: protected LocalDateTime toLocalDateTime(Object...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 26.4K bytes -
EsAbstractBehavior.java
L535: if (value instanceof String[]) { L536: return (String[]) value; L537: } else if (value instanceof List) { L538: return ((List<?>) value).stream().map(v -> v.toString()).toArray(n -> new String[n]); L539: } L540: String str = DfTypeUtil.toString(value); L541: if (str == null) { L542: return null; L543: } L544: return new String[] { str }; L545: } L546: L547: protected LocalDateTime toLocalDateTime(Object...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 26.4K bytes -
BsGroupBhv.java
source, Class<? extends RESULT> entityType) { L74: try { L75: final RESULT result = entityType.newInstance(); L76: result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber"))); L77: result.setName(DfTypeUtil.toString(source.get("name"))); L78: return updateEntity(source, result); L79: } catch (InstantiationException | IllegalAccessException e) { L80: final String msg = "Cannot create a new instance: " + entityType.getName(); L81:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 8.9K bytes -
BsFileConfig.java
sb.append(dm).append(updatedTime); L227: sb.append(dm).append(virtualHosts); L228: if (sb.length() > dm.length()) { L229: sb.delete(0, dm.length()); L230: } L231: sb.insert(0, "{").append("}"); L232: return sb.toString(); L233: } L234: L235: // =================================================================================== L236: // Accessor L237: // ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 13.7K bytes