Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 93 for duplicateIds (0.16 seconds)

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

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlan.java

        // gather artifactIds which are not unique so that the respective thread names can be extended with the groupId
        public Set<String> duplicateIds() {
            if (duplicateIds == null) {
                synchronized (this) {
                    if (duplicateIds == null) {
                        duplicateIds = projects()
                                .map(MavenProject::getArtifactId)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 12:11:25 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

                });
            }
        }
    
        protected String phase(MavenProject currentProject, BuildStep step, Set<String> duplicateIds) {
            if (step.project == currentProject) {
                return step.name;
            } else {
                String artifactId = step.project.getArtifactId();
                if (duplicateIds.contains(artifactId)) {
                    return step.name + "(" + step.project.getGroupId() + ":" + artifactId + ")";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                            return false; // This is the first occurrence
                        }
                    })
                    .toList();
    
            // Remove duplicates while preserving formatting
            duplicates.forEach(DomUtils::removeElement);
    
            return !duplicates.isEmpty();
        }
    
        private String createDependencyKey(Element dependency) {
            String groupId = dependency.childText(MavenPomElements.Elements.GROUP_ID);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  4. tests/test_dependency_duplicates.py

    ):
        return [item, sub_item]
    
    
    @app.post("/with-duplicates")
    async def with_duplicates(item: Item, item2: Item = Depends(duplicate_dependency)):
        return [item, item2]
    
    
    @app.post("/no-duplicates")
    async def no_duplicates(item: Item, item2: Item = Depends(dependency)):
        return [item, item2]
    
    
    @app.post("/with-duplicates-sub")
    async def no_duplicates_sub(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        }
    
        /**
         * Gets the maximum number of duplicated paths to attempt.
         *
         * @return the maximum duplicated path count
         */
        public int getMaxDuplicatedPath() {
            return maxDuplicatedPath;
        }
    
        /**
         * Sets the maximum number of duplicated paths to attempt.
         *
         * @param maxDuplicatedPath the maximum duplicated path count to set
         */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Aug 07 02:55:08 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        }
    
        @Override
        public Set<E> create(Object... elements) {
          Object[] duplicated = new Object[elements.length * 2];
          for (int i = 0; i < elements.length; i++) {
            duplicated[i] = elements[i];
            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/AbstractListMultimap.java

        return wrapList(key, (List<V>) collection, null);
      }
    
      // Following Javadoc copied from ListMultimap.
    
      /**
       * {@inheritDoc}
       *
       * <p>Because the values for a given key may have duplicates and follow the insertion ordering,
       * this method returns a {@link List}, instead of the {@link Collection} specified in the {@link
       * Multimap} interface.
       */
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

        @SuppressWarnings("unchecked")
        E[] array = (E[]) elements.toArray();
        /*
         * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of
         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

            assertEquals(cProject, sortedProjects.get(1));
    
            assertTrue(graph.getDownstreamProjects(aProject, false).contains(cProject));
        }
    
        // Test verifying that getDownstreamProjects does not contain duplicates.
        // This is a regression test for https://github.com/apache/maven/issues/2487.
        //
        // The graph is:
        // aProject -> bProject
        //        | -> dProject
        //        | -> eProject
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

            }
        }
    
        @Override
        public List<String> convert(final String text, final String field, final String... lang) throws IOException {
            // Use LinkedHashSet to maintain insertion order while eliminating duplicates
            final Set<String> resultSet = new LinkedHashSet<>();
            resultSet.add(text);
    
            // Start with the original text as the first input
            List<String> currentInputs = new ArrayList<>();
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 3.3K bytes
    - Click Count (1)
Back to Top