Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 69 for IsPresent (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            boolean validArtifactId = Objects.equals(a1, a2);
            for (SourceRoot sr : getSourceRoots(project)) {
                Optional<String> moduleName = sr.module();
                if (moduleName.isPresent()) {
                    isMultiModule = true;
                    if (moduleName.get().equals(a2)) {
                        validArtifactId = true;
                        break;
                    }
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

                if (!fessConfig.isAdminUser(username)) {
                    final OptionalEntity<FessUser> ldapUser = ComponentUtil.getLdapManager().login(username, password);
                    if (ldapUser.isPresent()) {
                        return ldapUser;
                    }
                }
                return doFindLoginUser(username, encryptPassword(password));
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InternetDomainName.java

       */
      private static boolean matchesType(
          Optional<PublicSuffixType> desiredType, Optional<PublicSuffixType> actualType) {
        return desiredType.isPresent() ? desiredType.equals(actualType) : actualType.isPresent();
      }
    
      /** Returns the domain name, normalized to all lower case. */
      @Override
      public String toString() {
        return name;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * <p>
         * <strong>Implementation Note:</strong> The default implementation is equivalent to:
         * </p>
         * <pre>{@code
         * Optional<Path> configured = targetPath();
         * if (configured.isPresent() && configured.get().isAbsolute()) {
         *     return configured.get();
         * }
         * Path outputDir = project.getOutputDirectory(scope());
         * return configured.map(outputDir::resolve).orElse(outputDir);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
          } else if (value instanceof Optional) {
            return !((Optional) value).isPresent();
          } else if (value.getClass().isArray()) {
            return Array.getLength(value) == 0;
          }
          return false;
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (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,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        LinkedHashSet<Class<?>> candidateClasses = new LinkedHashSet<>();
        for (Class<?> cls : classes) {
          Optional<String> testedClassName = TEST_SUFFIX.chop(cls.getName());
          if (testedClassName.isPresent()) {
            Class<?> testedClass = classMap.get(testedClassName.get());
            if (testedClass != null) {
              testClasses.put(testedClass, cls);
            }
          } else {
            candidateClasses.add(cls);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. 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 {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. 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;
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            if (noOptionsSpecified || allOptionsDisabled) {
                return true;
            }
    
            // Check if --model is explicitly set (and not part of "all disabled" scenario)
            if (options.model().isPresent()) {
                return options.model().get();
            }
    
            return false;
        }
    
        @Override
        public String getDescription() {
            return "Applying Maven 4 compatibility fixes";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top