- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 162 for Duplicates (0.06 seconds)
-
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) -
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) -
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) -
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) -
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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
assertEquals("https://example.com/sitemap2.xml", sitemaps[1]); } public void test_addSitemapNoDuplicates() { // Test that addSitemap doesn't add duplicates RobotsTxt robotsTxt = new RobotsTxt(); robotsTxt.addSitemap("https://example.com/sitemap.xml"); robotsTxt.addSitemap("https://example.com/sitemap.xml");
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 13 13:29:22 GMT 2025 - 14.4K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-data-types.md
* `frozenset`: * In requests and responses, treated the same as a `set`: * In requests, a list will be read, eliminating duplicates and converting it to a `set`. * In responses, the `set` will be converted to a `list`. * The generated schema will specify that the `set` values are unique (using JSON Schema's `uniqueItems`). * `bytes`:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
Then we can declare `tags` as a set of strings: {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *} With this, even if you receive a request with duplicate data, it will be converted to a set of unique items. And whenever you output that data, even if the source had duplicates, it will be output as a set of unique items. And it will be annotated / documented accordingly too. ## Nested Models { #nested-models }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java
* <p>This method performs the following validations: * <ul> * <li>Allows null input (returns null)</li> * <li>Ensures no duplicate repositories exist in the list</li> * <li>Ensures no null repository entries exist in the list</li> * </ul> * * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)} * method, which typically compares repository IDs and URLs. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* During this process only the most relevant version of each artifact * (based on group ID and artifact ID) is retained, resolving conflicts and eliminating duplicates to ensure * that each dependency is included only once in the final build.</p> * * <p><dfn>Dependency resolution</dfn> is the process of collecting dependencies, flattening the result graph,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 7.7K bytes - Click Count (0)