Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for redundant (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

        /**
         * Checks if a subprojects list is redundant (matches direct child directories with pom.xml).
         */
        private boolean isSubprojectsListRedundant(Element subprojectsElement, Path pomPath) {
            List<Element> subprojectElements =
                    subprojectsElement.children(SUBPROJECT).toList();
            if (subprojectElements.isEmpty()) {
                return true; // Empty list is redundant
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
      @IgnoreJRERequirement // *should* be redundant with the annotation on SpliteratorTester
      private abstract static class GeneralSpliterator<E extends @Nullable Object> {
        final Spliterator<E> spliterator;
    
        GeneralSpliterator(Spliterator<E> spliterator) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

            printStream.accept("  -d, --directory <path> Directory to use as starting point for POM discovery");
            printStream.accept("  -i, --infer           Remove redundant information that can be inferred by Maven");
            printStream.accept("      --model           Fix Maven 4 compatibility issues in POM files");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            }
        }
    
        private Collection<WeakMojoExecutionListener> getProvidedListeners() {
            // the same instance can be provided multiple times under different Key's
            // deduplicate instances to avoid redundant beforeXXX/afterXXX callbacks
            IdentityHashMap<WeakMojoExecutionListener, Object> listeners = new IdentityHashMap<>();
            for (Object provided : getScopeState().provided()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            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");
            context.info("    --plugins         Upgrade plugins known to fail with Maven 4");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         *
         * @return an {@link Optional} containing the directory path, or empty if not specified
         */
        @Nonnull
        Optional<String> directory();
    
        /**
         * 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();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test suite covering {@link Ints#asList(int[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
        // Redundant cast works around a javac bug.
        assertThat((Iterable<?>[]) map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
      public void testWildcardType() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                    rootSession.getResult().addException(e);
                    break;
                } catch (ExecutionException e) {
                    // TODO MNG-5766 changes likely made this redundant
                    rootSession.getResult().addException(e);
                    break;
                }
            }
        }
    
        private Callable<ProjectSegment> createBuildCallable(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 16 03:42:09 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     * If a plugin version is defined via a property, the property value is updated instead.
     *
     * <h3>Inference Optimizations (Optional)</h3>
     * When {@code --infer} option is enabled, applies inference optimizations to remove redundant information:
     *
     * <h4>Limited Inference for 4.0.0 Models (Maven 3.x POMs)</h4>
     * <ul>
     *   <li><strong>Child GroupId Removal</strong>: Removes child {@code <groupId>} when it matches parent groupId</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top