- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 319 for Docstring (0.14 sec)
-
DataStoreParams.java
getAsString(final String key) { L42: if (params.get(key) instanceof final String strValue) { L43: return strValue; L44: } L45: final Object value = params.get(key); L46: if (value != null) { L47: return value.toString(); L48: } L49: return null; L50: } L51: L52: public String getAsString(final String key, final String defaultValue) { L53: final String value = getAsString(key); L54: if (value != null) { L55: return value;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.3K bytes -
RequestHeader.java
L60: } catch (final Exception e) { L61: logger.warn("Web Config {} does not exist.", getWebConfigId(), e); L62: } L63: } L64: return webConfig; L65: } L66: L67: @Override L68: public String toString() { L69: return "RequestHeader [webConfig=" + webConfig + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", name=" + name L70: + ", updatedBy=" + updatedBy + ", updatedTime=" + updatedTime + ", value=" + value...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
KeyMatchTests.java
String keyProp = NAME_PREFIX + id; L64: requestBody.put(KEY_PROPERTY, keyProp); L65: requestBody.put(KEY_PROPERTY, keyProp); L66: requestBody.put("query", "query" + id); L67: requestBody.put("max_size", new Integer(id).toString()); L68: requestBody.put("boost", 100); L69: return requestBody; L70: } L71: L72: @Override L73: protected Map<String, Object> getUpdateMap() { L74: final Map<String, Object> updateMap = new HashMap<>(); L75: ...github.com/codelibs/fess/src/test/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.4K bytes -
Crawler.java
return Constants.EXIT_FAIL; L539: } finally { L540: pathMappingHelper.removePathMappingList(options.sessionId); L541: crawlingInfoHelper.putToInfoMap(Constants.CRAWLER_STATUS, errors.isEmpty() ? Constants.T.toString() : Constants.F.toString()); L542: if (!errors.isEmpty()) { L543: crawlingInfoHelper.putToInfoMap(Constants.CRAWLER_ERRORS, L544: errors.stream().map(s -> s.replace(" ", StringUtil.EMPTY)).collect(Collectors.joining("...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 24K bytes -
FavoriteLogBhv.java
L47: L48: @Override L49: protected LocalDateTime toLocalDateTime(final Object value) { L50: if (value != null) { L51: try { L52: final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); L53: return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); L54: } catch (final DateTimeParseException e) { L55: logger.debug("Invalid date format: {}", value, e); L56: } L57: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.1K bytes -
UserInfoBhv.java
L47: L48: @Override L49: protected LocalDateTime toLocalDateTime(final Object value) { L50: if (value != null) { L51: try { L52: final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); L53: return LocalDateTime.ofInstant(instant, ZoneId.systemDefault()); L54: } catch (final DateTimeParseException e) { L55: logger.debug("Invalid date format: {}", value, e); L56: } L57: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 2.1K bytes -
ThumbnailQueue.java
L35: public Long getVersionNo() { L36: return asDocMeta().version(); L37: } L38: L39: public void setVersionNo(final Long version) { L40: asDocMeta().version(version); L41: } L42: L43: @Override L44: public String toString() { L45: return "ThumbnailQueue [createdBy=" + createdBy + ", createdTime=" + createdTime + ", generator=" + generator + ", path=" + path L46: + "]"; L47: } L48:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.4K bytes -
BaseApiManager.java
orElse(Constants.UTF_8); L113: } else { L114: enc = encoding; L115: } L116: buf.append(enc); L117: final HttpServletResponse response = LaResponseUtil.getResponse(); L118: response.setContentType(buf.toString()); L119: writeHeaders(response); L120: try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) { L121: out.print(text); L122: } catch (final IOException e) { L123: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.3K bytes -
OpenIdConnectCredential.java
FessCredential { L33: L34: private final Map<String, Object> attributes; L35: L36: public OpenIdConnectCredential(final Map<String, Object> attributes) { L37: this.attributes = attributes; L38: } L39: L40: @Override L41: public String toString() { L42: return "{" + getUserId() + "}"; L43: } L44: L45: @Override L46: public String getUserId() { L47: return DocumentUtil.getValue(attributes, "email", String.class); L48: } L49: L50: public String[] getUserGroups()...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 4.2K bytes -
Role.java
asDocMeta().version(version); L38: } L39: L40: public String getId() { L41: return asDocMeta().id(); L42: } L43: L44: public void setId(final String id) { L45: asDocMeta().id(id); L46: } L47: L48: @Override L49: public String toString() { L50: return "Role [name=" + name + "]"; L51: } L52: L53: public Map<String, String> getAttributes() { L54: return attributes; L55: } L56: L57: public void setAttributes(final Map<String, String> attributes) { L58: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 1.8K bytes