Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for orElse (0.04 sec)

  1. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                            .forEach(v -> modifyDeleteEntry(modifyList, attrLabeledURI, v)));
            final String attrRoomNumber = fessConfig.getLdapAttrRoomNumber();
            OptionalUtil.ofNullable(user.getRoomNumber())
                    .filter(StringUtil::isNotBlank)
                    .ifPresent(s -> modifyReplaceEntry(modifyList, attrRoomNumber, 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)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .orElse(phase);
            }
    
            private String getResolvedPhase(String phase) {
                return lifecycles.stream()
                        .flatMap(l -> l.aliases().stream())
                        .filter(a -> phase.equals(a.v3Phase()))
                        .findFirst()
                        .map(Lifecycle.Alias::v4Phase)
                        .orElse(phase);
            }
    
            /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost));
                }
                matcher.appendTail(buf);
                return buf.toString();
            }).orElse(value);
        }
    
        /**
         * Gets the set of highlight queries from the current request.
         *
         * @return OptionalThing containing the query set
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

                    .findFirst()
                    .orElse(null);
            assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId);
            List<PluginExecution> pluginExecutions = plugin.getExecutions();
            PluginExecution pluginExecution = pluginExecutions.stream()
                    .filter(pe -> pe.getId().equals(expectedId))
                    .findFirst()
                    .orElse(null);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            });
    
                            writeJsonResponse(HttpServletResponse.SC_CREATED, escapeJsonKeyValue(RESULT_FIELD, "created"));
    
                        })
                        .orElse(() -> {
                            throw new WebApiException(HttpServletResponse.SC_NOT_FOUND, "Not found: " + docId);
                        });
    
            } catch (final WebApiException e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                                || stream(user.getGroups()).get(stream -> stream.anyMatch(s -> (GROUP_VALUE_PREFIX + s).equals(key))))
                        .orElse(false)) {
                    return p.getSecond();
                }
                return null;
            }).filter(StringUtil::isNotBlank).toArray(n -> new String[n]);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                            .flatMap(r -> r.getProblems().stream())
                            .filter(p -> p.getException() instanceof CycleDetectedException)
                            .findAny()
                            .orElse(null);
                    if (cycle != null) {
                        final CycleDetectedException cde = (CycleDetectedException) cycle.getException();
                        throw new ProjectBuildingException(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                String location = f.next().location;
                ActivationFrame parent = f.next();
    
                return parent.parent.map(p -> p.getLocation(location)).orElse(null);
            };
            final Consumer<String> validator = s -> {
                if (hasProjectExpression(s)) {
                    String path = pathSupplier.get();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 03 15:06:05 UTC 2025
    - 66.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            if ((fieldConfigs.getConfig(fessConfig.getIndexFieldCache())
                    .map(org.codelibs.fess.crawler.util.FieldConfigs.Config::isCache)
                    .orElse(false) || fessConfig.isCrawlerDocumentCacheEnabled()) && fessConfig.isSupportedDocumentCacheMimetypes(mimeType)) {
                if (responseData.getContentLength() > 0
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                        }
                    }
                    return null;
                }
    
                return new ActionResponseCredential(() -> HtmlResponse.fromRedirectPathAsIs(getAuthUrl(request)));
            }).orElse(null);
        }
    
        /**
         * Generates the Entra ID authorization URL for the authentication request.
         * @param request The HTTP servlet request.
         * @return The authorization URL to redirect the user to.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 56.7K bytes
    - Viewed (0)
Back to top