- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for infer (0.01 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
} /** * Creates upgrade options with only the --infer option set. * * @param infer the --infer option value * @return configured upgrade options */ public static UpgradeOptions createOptionsWithInfer(boolean infer) { return createOptions(null, infer, null, null, null); } /** * Creates a simple POM XML string for testing.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java
return Optional.of(commandLine.getOptionValue(CLIManager.DIRECTORY)); } return Optional.empty(); } @Override @Nonnull public Optional<Boolean> infer() { if (commandLine.hasOption(CLIManager.INFER)) { return Optional.of(Boolean.TRUE); } return Optional.empty(); } @Override @Nonnull public Optional<Boolean> model() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:48:39 UTC 2025 - 7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
CommonsCliUpgradeOptions options = CommonsCliUpgradeOptions.parse(args); assertTrue(options.modelVersion().isPresent(), "--model-version option should be present"); assertEquals("4.1.0", options.modelVersion().get(), "--model-version should be 4.1.0"); assertTrue(options.infer().isPresent(), "--infer option should be present");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:48:39 UTC 2025 - 9.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
if (useAll) { return true; } // Check if --infer is explicitly set if (options.infer().isPresent()) { return options.infer().get(); } // Apply default behavior: if no specific options are provided, enable --infer if (options.infer().isEmpty() && options.model().isEmpty() && options.plugins().isEmpty()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.6K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
@DisplayName("Applicability") class ApplicabilityTests { @Test @DisplayName("should be applicable when --infer option is true") void shouldBeApplicableWhenInferOptionTrue() { UpgradeOptions options = mock(UpgradeOptions.class); when(options.infer()).thenReturn(Optional.of(true)); when(options.all()).thenReturn(Optional.empty());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 35.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java
context.info("-m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)"); context.info("-d, --directory <path> Directory to use as starting point for POM discovery"); context.info("-i, --infer Remove redundant information that can be inferred by Maven"); context.info(" --model Fix Maven 4 compatibility issues in POM files");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:46:51 UTC 2025 - 2.7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java
* Should use inference when upgrading (remove redundant information). * * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ @Nonnull Optional<Boolean> infer(); /** * Should fix Maven 4 compatibility issues in POMs. * This includes fixing unsupported combine attributes, duplicate dependencies, * unsupported expressions, and other Maven 4 validation issues.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Aug 29 12:46:51 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
// Although we cannot directly verify the super constructor call with Mockito for a real class, // we can infer its correct behavior if the object is successfully constructed and its own fields are correct. // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* or extract a variable, and put the suppression on that. However, a local variable typically * doesn't work: Because nullness analyses typically infer the nullness of local variables, * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* or extract a variable, and put the suppression on that. However, a local variable typically * doesn't work: Because nullness analyses typically infer the nullness of local variables, * there's no way to assign a {@code @Nullable T} to a field {@code T foo;} and instruct the * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0)