Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 853 for isEmpty (0.39 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.isEmpty()) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("The property name is required to activate the profile " + profile.getId())
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 07:40:37 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultVersionCatalog.java

            result = 31 * result + plugins.hashCode();
            return result;
        }
    
        public boolean isNotEmpty() {
            return !(libraries.isEmpty() && bundles.isEmpty() && versions.isEmpty() && plugins.isEmpty());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/types/PropertiesBackedInstrumentationTypeRegistry.java

        }
    
        @Override
        public Set<String> getSuperTypes(String type) {
            return properties.get().getOrDefault(type, Collections.emptySet());
        }
    
        @Override
        public boolean isEmpty() {
            return properties.get().isEmpty();
        }
    
        public static InstrumentationTypeRegistry of(Supplier<Map<String, Set<String>>> properties) {
            return new PropertiesBackedInstrumentationTypeRegistry(properties);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 24 12:57:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                    Integer depth = usages.remove(Thread.currentThread());
                    if (depth > 1) {
                        usages.put(Thread.currentThread(), depth - 1);
                    }
                    if (usages.isEmpty()) {
                        condition.signalAll();
                        if (state == State.STOPPING) {
                            state = State.STOPPED;
                        }
                    }
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/ApplicationClassesInSystemClassLoaderWorkerImplementationFactory.java

                classpath.addAll(workerMainClassPath);
            }
            modulePath.addAll(applicationModulePath);
            classpath.addAll(applicationClasspath);
    
            if (!modulePath.isEmpty() && implementationModulePath != null && !implementationModulePath.isEmpty()) {
                // We add the implementation module path as well, as we do not load modules dynamically through a separate class loader in the worker.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 10:09:51 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/collector/DefaultProjectsSelector.java

                throws ProjectBuildingException {
            ProjectBuildingRequest projectBuildingRequest = request.getProjectBuildingRequest();
    
            boolean hasProjectSelection = !request.getProjectActivation().isEmpty();
            boolean isRecursive = hasProjectSelection || request.isRecursive();
            List<ProjectBuildingResult> results = projectBuilder.build(files, isRecursive, projectBuildingRequest);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 09 23:46:02 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExpectedDeprecationWarning.java

            Preconditions.checkArgument(pattern != null && !pattern.isEmpty(), "pattern must not be null or empty");
            return withPattern(Pattern.compile(pattern), 1);
        }
    
        public static ExpectedDeprecationWarning withMultiLinePattern(String pattern, int numLines) {
            Preconditions.checkArgument(pattern != null && !pattern.isEmpty(), "pattern must not be null or empty");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

                return new Float(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return new Float(DecimalFormatUtil.normalize(s));
        }
    
        /**
         * {@literal float}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableEnumSet.java

          collection = ((ImmutableEnumSet<?>) collection).delegate;
        }
        return delegate.containsAll(collection);
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumSet) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        TopKSelector<Integer> top = TopKSelector.least(0);
        for (int i = 0; i < 10; i++) {
          top.offer(i);
        }
        assertThat(top.topK()).isEmpty();
      }
    
      public void testNoElementsOffered() {
        TopKSelector<Integer> top = TopKSelector.least(10);
        assertThat(top.topK()).isEmpty();
      }
    
      public void testOfferedFewerThanK() {
        TopKSelector<Integer> top = TopKSelector.least(10);
        top.offer(3);
        top.offer(5);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top