- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 63 for Explicit (0.06 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
<relativePath>../pom.xml</relativePath> </parent> <artifactId>child-project</artifactId> <!-- No explicit groupId - will inherit from parent --> <!-- No explicit version - will inherit from parent --> </project> """; Document parentDoc = Document.of(parentPomXml);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
new EqualsTester() .addEqualityGroup(c, Ordering.explicit(42, 5)) .addEqualityGroup(Ordering.explicit(5, 42)) .addEqualityGroup(Ordering.explicit(42)) .testEquals(); reserializeAndAssert(c); } public void testExplicit_sortingExample() { Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9); List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 42.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
new EqualsTester() .addEqualityGroup(c, Ordering.explicit(42, 5)) .addEqualityGroup(Ordering.explicit(5, 42)) .addEqualityGroup(Ordering.explicit(42)) .testEquals(); reserializeAndAssert(c); } public void testExplicit_sortingExample() { Comparator<Integer> c = Ordering.explicit(2, 8, 6, 1, 7, 5, 3, 4, 0, 9); List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 42.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
* <li><strong>Parent Element Trimming</strong>: * <ul> * <li>Removes parent {@code <groupId>} when child has no explicit groupId</li> * <li>Removes parent {@code <version>} when child has no explicit version</li> * <li>Removes parent {@code <artifactId>} when it can be inferred from relativePath</li> * </ul> * </li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
@DisplayName("should prioritize explicit model over --all option") void shouldPrioritizeExplicitModelOverAllOption() { UpgradeContext context = createMockContext(tempDir, TestUtils.createOptions(true, null, null, null, "4.0.0")); String result = upgradeGoal.testDoUpgradeLogic(context, "4.0.0"); assertEquals("4.0.0", result, "Explicit model should take precedence over --all");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
// Remove parent groupId if child has no explicit groupId if (childGroupId == null) { Element parentGroupIdElement = parentElement.child(GROUP_ID).orElse(null); if (parentGroupIdElement != null) { DomUtils.removeElement(parentGroupIdElement); context.detail("Removed: parent groupId (child has no explicit groupId)"); hasChanges = true;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
// Otherwise we get // ask ':tooling-api:publishGradleDistributionPublicationToRemoteRepository' uses this output of task ':tooling-api:signLocalPublication' // without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. tasks.named("publishGradleDistributionPublicationToRemoteRepository") {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 5.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* The default value is empty. */ default Optional<Version> targetVersion() { return Optional.empty(); } /** * {@return an explicit target path, overriding the default value} * <p> * <strong>Important:</strong> This method returns the target path as specified in the configuration,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 14.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
import org.jspecify.annotations.Nullable; /** * Basic implementation of {@code Multiset<E>} backed by an instance of {@code * ObjectCountHashMap<E>}. * * <p>For serialization to work, the subclass must specify explicit {@code readObject} and {@code * writeObject} methods. * * @author Kevin Bourrillion */ @GwtCompatible abstract class AbstractMapBasedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 05 23:15:58 GMT 2025 - 7.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
.map(Element::textContentTrimmed) .orElse(null); assertEquals("1.3.0", version); } @Test @DisplayName("should upgrade plugin without explicit groupId") void shouldUpgradePluginWithoutExplicitGroupId() throws Exception { String pomXml = """ <?xml version="1.0" encoding="UTF-8"?>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0)