Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 738 for isEmpty (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

                for (XmlNode child : dom.children()) {
                    String string = child.value();
                    if (string != null) {
                        string = string.trim();
                        if (!string.isEmpty()) {
                            strings.add(string);
                        }
                    }
                }
            }
    
            return strings;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java

                versions.addAll(versioning.getVersions());
                versioning.setVersions(new ArrayList<>(versions));
            }
    
            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        public Object getKey() {
            return getGroupId() + ':' + getArtifactId();
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                }
                String methodName = cells.get(0).getTextContent().trim();
                Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName);
                if (methods.isEmpty()) {
                    throw new RuntimeException(String.format("No metadata for method '%s.%s()'. Available methods: %s", classDoc.getName(), methodName, classDoc.getClassMetaData().getDeclaredMethodNames()));
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                    } else if ("".equals(artifact.getClassifier())) {
                        mains.add(artifact);
                    }
                }
            }
            if (!mains.isEmpty() && !consumers.isEmpty()) {
                ArrayList<Artifact> result = new ArrayList<>(artifacts);
                for (Artifact main : mains) {
                    result.remove(main);
                    if (deployBuildPom) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableLongArray copyOf(Collection<Long> values) {
        return values.isEmpty() ? EMPTY : new ImmutableLongArray(Longs.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  6. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /** Returns an immutable array containing the given values, in order. */
      public static ImmutableIntArray copyOf(Collection<Integer> values) {
        return values.isEmpty() ? EMPTY : new ImmutableIntArray(Ints.toArray(values));
      }
    
      /**
       * Returns an immutable array containing the given values, in order.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. api/maven-api-metadata/src/main/mdo/metadata.mdo

                            // never convert from legacy to new format if either source or target is legacy format
                            if ( !v.getSnapshotVersions().isEmpty() )
                            {
                                for ( SnapshotVersion sv : versioning.getSnapshotVersions() )
                                {
                                    String key = getSnapshotVersionKey( sv );
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 15 17:32:27 GMT 2024
    - 15.8K bytes
    - Click Count (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

                include("**/*.pom")
                include("**/*.xml")
                include("**/*.module")
            }
    
        override fun asArguments() =
            if (!localRepo.isEmpty) mapOf("integTest.localRepository" to localRepo.singleFile).asSystemPropertyJvmArguments()
            else emptyList()
    
        @Internal
        override fun getName() =
            "libsRepository"
    }
    
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            StringBuilder buff = new StringBuilder();
            if (md.getExecutePhase() != null && !md.getExecutePhase().isEmpty()) {
                // forked phase
                if (md.getExecuteLifecycle() != null && !md.getExecuteLifecycle().isEmpty()) {
                    buff.append('[');
                    buff.append(md.getExecuteLifecycle());
                    buff.append(']');
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      public int size() {
        return map.size();
      }
    
      /** Returns {@code true} if this map contains no key-value mappings. */
      public boolean isEmpty() {
        return map.isEmpty();
      }
    
      /**
       * Removes all of the mappings from this map. The map will be empty after this call returns.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top