- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 246 for orElse (0.06 seconds)
-
guava-tests/test/com/google/common/graph/ValueGraphTest.java
assertThat(graph.edgeValue(1, 2).orElse(DEFAULT)).isEqualTo(DEFAULT); assertThat(graph.edgeValue(2, 1).orElse(DEFAULT)).isEqualTo(DEFAULT); assertThat(graph.edgeValueOrDefault(1, 2, null)).isNull(); assertThat(graph.edgeValueOrDefault(2, 1, null)).isNull(); assertThat(graph.edgeValue(1, 2).orElse(null)).isNull(); assertThat(graph.edgeValue(2, 1).orElse(null)).isNull();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 20.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
if (fessConfig.isLoggingSearchUseLogfile()) { ComponentUtil.getSearchLogHelper().writeSearchLogEvent(favoriteLog); } return true; }).orElse(false); } /** * Retrieves a list of URLs that are in the user's favorites from the provided URL list. * This method filters the input URL list to return only those URLs that the specified user
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java
final Optional<FileTree> mainFileTree = getJavaMainSourceSet(project).map(SourceSet::getResources).map(FileTree::getAsFileTree); return mainFileTree.map(files -> files.matching(filter)).orElse(null); } /** * @param project The project to look for resources. * @param filter Optional filter function to filter the returned resources
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 27 15:18:50 GMT 2021 - 5.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
doc = searchHelper .getDocumentByDocId(form.docId, new String[] { fessConfig.getIndexFieldUrl(), fessConfig.getIndexFieldConfigId() }, getUserBean()) .orElse(null); } catch (final Exception e) { logger.warn("Failed to request: {}", form.docId, e); } if (doc == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
cb.query().setPermissions_InScope(stream(permissions).get(stream -> stream.collect(Collectors.toList()))); } }).orElse(null); final String reading = getValue(list, 1); final String boost = getValue(list, 4); final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java
public FileCollection getFiles() { return getSourceFolders().get() .stream() .map(sourceFolder -> sourceFolder.matching(filesFilter)) .reduce(FileTree::plus) .orElse(projectLayout.files().getAsFileTree()); } @TaskAction public void checkInvalidPatterns() throws IOException {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ProtwordsService.java
protwordsPager.setPageNumberList(protwordsList.createPageNumberList()); return (List<ProtwordsItem>) protwordsList; }).orElse(Collections.emptyList()); } /** * Gets the protected words file for the specified dictionary ID. * @param dictId the dictionary ID * @return the protected words file if found */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
}, validationErrorLambda); } final String oldPassword = getSession().map(session -> (String) session.getAttribute(INVALID_OLD_PASSWORD)).orElse(StringUtil.EMPTY); getUserBean().ifPresent(user -> { final String userId = user.getUserId(); fessLoginAssist.findLoginUser(new LocalUserCredential(userId, oldPassword)).orElseGet(() -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 8.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
stopwordsPager.setPageNumberList(stopwordsList.createPageNumberList()); return (List<StopwordsItem>) stopwordsList; }).orElse(Collections.emptyList()); } /** * Retrieves a stopwords file for a given dictionary ID. * * @param dictId The ID of the dictionary.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 4.6K bytes - Click Count (0)