Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 168 for isPresent (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

         *
         * @return ActionResponse directing to the appropriate page based on authentication result
         */
        @Execute
        public ActionResponse index() {
            if (fessLoginAssist.getSavedUserBean().isPresent()) {
                return redirectToSearchPage().orElseGet(() -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("User is already logged in, redirecting to root.");
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

         * @return true if the file configuration exists, false otherwise
         */
        protected Boolean isValidFileConfigId(final String fileconfigId) {
            return fileConfigService.getFileConfig(fileconfigId).isPresent();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

         * should not matter in practice.
         */
        private String maybeAlignedRefSpec(Logger logger, String defaultRefSpec) {
            if (providerFactory.systemProperty("bwc.checkout.align").isPresent() == false) {
                return defaultRefSpec;
            }
    
            String timeOfCurrent = execInCheckoutDir(execSpec -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/elasticsearch.formatting.gradle

              // option from the command line by running Gradle with `-Dspotless.paddedcell`.
              if (providers.systemProperty('spotless.paddedcell').forUseAtConfigurationTime().isPresent()) {
                paddedCell()
              }
            }
          }
    
          tasks.named("precommit").configure { dependsOn 'spotlessJavaCheck' }
        }
      }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 09 18:53:35 GMT 2021
    - 9.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/JobHelper.java

                        .selectByPK(scheduledJob.getId())
                        .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e))
                        .orElse(() -> {
                            logger.warn("Job {} is not found.", scheduledJob.getId());
                        });
                return params;
            };
            findJobByUniqueOf(LaJobUnique.of(id)).ifPresent(job -> {
                if (!job.isUnscheduled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

         *
         * @return true if login is required, false otherwise
         */
        protected boolean isLoginRequired() {
            if (fessConfig.isLoginRequired() && !fessLoginAssist.getSavedUserBean().isPresent()) {
                return true;
            }
            return false;
        }
    
        /**
         * Builds and populates search form parameters including results per page,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 18 04:42:56 GMT 2026
    - 14K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            } else {
                return "";
            }
        }
    
        private String checkAtLeastOneExists(String message, Stream<? extends Class<?>> stream) {
            if (stream.findAny().isPresent()) {
                return "";
            } else {
                return "Expected at least one " + message + ", but found none.";
            }
        }
    
        private boolean seemsLikeATest(Class<?> clazz) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  8. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    ```groovy
    public interface NewThing {
        Property<String> getSomeProperty()
    }
    
    // Unacceptable
    String value
    if (!getSomeProperty().isPresent()) {
       value = "convention"
    } else {
       value = getSomeProperty().get()
    }
    
    // Also unacceptable
    String value = getSomeProperty().getOrElse("convention")
    
    // This should be always:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 10K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            // Determine target model version
            // Default to 4.0.0 unless --all is specified or explicit --model-version is provided
            String targetModel;
            if (options.modelVersion().isPresent()) {
                targetModel = options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                targetModel = MODEL_VERSION_4_1_0;
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

         */
        private String determineTargetModelVersion(UpgradeContext context) {
            UpgradeOptions options = getOptions(context);
    
            if (options.modelVersion().isPresent()) {
                return options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                return MODEL_VERSION_4_1_0;
            } else {
                return MODEL_VERSION_4_0_0;
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top