- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ofNullable (0.2 sec)
-
src/main/java/org/codelibs/fess/ldap/LdapManager.java
.filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrTelephoneNumber(), s))); OptionalUtil.ofNullable(user.getHomePhone()) .filter(StringUtil::isNotBlank) .ifPresent(s -> entry.put(new BasicAttribute(fessConfig.getLdapAttrHomePhone(), s)));
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
when(options.all()).thenReturn(Optional.ofNullable(all)); when(options.infer()).thenReturn(Optional.ofNullable(infer)); when(options.model()).thenReturn(Optional.ofNullable(model)); when(options.plugins()).thenReturn(Optional.ofNullable(plugins)); when(options.modelVersion()).thenReturn(Optional.ofNullable(modelVersion)); return options; } /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 8.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
path = defaultArtifact.getArtifact().getPath(); } return Optional.ofNullable(path); } @Override public void setPath(ProducedArtifact artifact, Path path) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 13:41:14 UTC 2025 - 11.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* * @return the {@code javax.tool} enumeration value corresponding to this {@code JavaPathType} */ public Optional<JavaFileManager.Location> location() { return Optional.ofNullable(location); } /** * Returns the path type associated to the given {@code javax.tool} location. * This method is the converse of {@link #location()}. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
return OptionalUtil.ofNullable(webConfig); } /** * Gets the file crawling configuration generated from the parsed GSA config. * * @return an optional containing the file configuration, or empty if no file URLs were found */ public OptionalEntity<FileConfig> getFileConfig() { return OptionalUtil.ofNullable(fileConfig); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
// Session keep tracks of the Project per project id, // so we cannot use session.getProject(p) for forked projects // which are temporary clones return Optional.ofNullable(getMavenProject(project).getExecutionProject()) .map(p -> new DefaultProject(session, p)); } private MavenProject getMavenProject(Project project) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
} final long execTime = systemHelper.getCurrentTimeAsLong() - startTime; return searchResult.build(requestBuilder, execTime, OptionalEntity.ofNullable(response, () -> {})); } /** * Performs a search with custom conditions and result processing. * * @param <T> the result type * @param index the index nameRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 122.4K bytes - Viewed (1)