Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 186 for orElse (0.05 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                this.topLevelProject = projects.stream()
                        .filter(project -> project.isExecutionRoot())
                        .findFirst()
                        .orElse(first);
            } else {
                this.currentProject = new ThreadLocal<>();
                this.topLevelProject = null;
            }
            this.projects = projects;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    } catch (final Exception e) {
                        logger.warn("Failed to logout from IdP: {}", samlUser, e);
                    }
                    return null;
                }).orElse(null);
            }
            return null;
        }
    
        @Override
        public ActionResponse getResponse(final SsoResponseType responseType) {
            return switch (responseType) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java

                if (actionClass != null) {
                    return actionClass;
                }
                return AdminDashboardAction.class;
            }).orElse(AdminDashboardAction.class));
        }
    
        public static Class<? extends FessAdminAction> getAdminActionClass(final FessUserBean user) {
            if (user.hasRoles(getActionRoles(AdminDashboardAction.ROLE))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/TempFileCreator.java

            Method infoMethod = processHandleClass.getMethod("info");
            Method userMethod = processHandleInfoClass.getMethod("user");
            Method orElseMethod = optionalClass.getMethod("orElse", Object.class);
    
            Object current = currentMethod.invoke(null);
            Object info = infoMethod.invoke(current);
            Object user = userMethod.invoke(info);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            }
            return Optional.empty();
        }
    
        @Override
        public Optional<Boolean> showErrors() {
            if (commandLine.hasOption(CLIManager.SHOW_ERRORS) || verbose().orElse(false)) {
                return Optional.of(Boolean.TRUE);
            }
            return Optional.empty();
        }
    
        @Override
        public Optional<String> failOnSeverity() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            Collections.reverse(allPhases);
            List<String> computed =
                    allPhases.stream().filter(s -> !s.startsWith("$")).collect(Collectors.toList());
            List<String> given = lifecycle.orderedPhases().orElse(null);
            if (given != null) {
                if (given.size() != computed.size()) {
                    Set<String> s1 =
                            given.stream().filter(s -> !computed.contains(s)).collect(Collectors.toSet());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .filter(artifact ->
                            Objects.equals(requestedRepositoryConflictId, ArtifactIdUtils.toVersionlessId(artifact)))
                    .findFirst()
                    .orElse(null);
        }
    
        /**
         * Determines whether the specified artifact refers to test classes.
         *
         * @param artifact The artifact to check, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            putResultDataBody(dataMap, fessConfig.getIndexFieldContent(), body);
            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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  9. 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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse list(final OptionalThing<String> id) {
            saveToken();
            return id.filter(StringUtil::isNotBlank).map(s -> asListHtml(decodePath(s))).orElse(redirect(getClass()));
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse upload(final ItemForm form) {
            validate(form, messages -> {}, () -> asListHtml(form.path));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top