Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 91 for singletonList (0.08 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            PluginDescriptor pd = new PluginDescriptor();
    
            Artifact artifact = createArtifact("testGroup", "testArtifact", "1.0");
    
            pd.setArtifacts(Collections.singletonList(artifact));
    
            ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), pd, new Properties());
    
            Object value = ee.evaluate("${plugin.artifacts}");
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            result.setOriginatingArtifact(originatingArtifact);
    
            if (conflictResolvers == null) {
                conflictResolvers = Collections.singletonList(defaultConflictResolver);
            }
    
            Map<Object, List<ResolutionNode>> resolvedArtifacts = new LinkedHashMap<>();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableList.java

        return (ImmutableList<E>) EMPTY;
      }
    
      /**
       * Returns an immutable list containing a single element. This list behaves and performs
       * comparably to {@link Collections#singletonList}, but will not accept a null element. It is
       * preferable mainly for consistency and maintainability of your code.
       *
       * @throws NullPointerException if the element is null
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        repository.getLayout(),
                        repository.getSnapshots(),
                        repository.getReleases());
    
                repository.setMirroredRepositories(Collections.singletonList(original));
    
                repository.setId(mirror.getId());
                repository.setUrl(mirror.getUrl());
    
                if (mirror.getLayout() != null && !mirror.getLayout().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            this.layout.put(key, new Layout(commentLines, null));
            return storage.put(key, value);
        }
    
        public String put(String key, String comment, String value) {
            return put(key, Collections.singletonList(comment), value);
        }
    
        public boolean update(Map<String, String> props) {
            MavenProperties properties;
            if (props instanceof MavenProperties mavenProperties) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            this.layout.put(key, new Layout(commentLines, null));
            return storage.put(key, value);
        }
    
        public String put(String key, String comment, String value) {
            return put(key, Collections.singletonList(comment), value);
        }
    
        public boolean update(Map<String, String> props) {
            MavenProperties properties;
            if (props instanceof MavenProperties mavenProperties) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableList.java

        return (ImmutableList<E>) EMPTY;
      }
    
      /**
       * Returns an immutable list containing a single element. This list behaves and performs
       * comparably to {@link Collections#singletonList}, but will not accept a null element. It is
       * preferable mainly for consistency and maintainability of your code.
       *
       * @throws NullPointerException if the element is null
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    RepositoryUtils.toArtifacts(
                            artifacts,
                            resolutionResult.getDependencyGraph().getChildren(),
                            Collections.singletonList(project.getArtifact().getId()),
                            null);
    
                    // Maven 2.x quirk: an artifact always points at the local repo, regardless whether resolved or not
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        Object object =
            new Object() {
              @Override
              public String toString() {
                return new String(new char[50_000]);
              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
          list = Arrays.asList(array);
        }
        future2.set(list);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
Back to Top