Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,274 for percent (1.37 sec)

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

                        context.detail("Removed: parent artifactId (can be inferred from relativePath)");
                        hasChanges = true;
                    }
                }
            }
    
            return hasChanges;
        }
    
        /**
         * Determines if the parent is part of the same reactor (multi-module project)
         * vs. an external parent POM by checking if the parent exists in the pomMap.
         */
    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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

        }
    
        /**
         * Inserts a new child element to the given parent element with proper Maven POM ordering.
         *
         * @param name the name of the new element
         * @param parent the parent element
         * @return the new element
         *
         */
        public static Element insertNewElement(String name, Element parent) {
            PomEditor editor = new PomEditor(parent.document());
            return editor.insertMavenElement(parent, name);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                SmbFile parent = mock(SmbFile.class);
                when(delegate.accept(parent, "x")).thenReturn(true);
    
                // Act
                boolean result = (boolean) invokePrivate(wrapper, "accept", new Class<?>[] { SmbResource.class, String.class }, parent, "x");
    
                // Assert
                assertTrue(result);
                verify(delegate, times(1)).accept(parent, "x");
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

         *
         * @return The type of the class realm, never {@code null}.
         */
        RealmType getType();
    
        /**
         * Gets the parent class realm (if any).
         *
         * @return The parent class realm or {@code null} if using the default parent.
         */
        ClassLoader getParent();
    
        /**
         * @deprecated Use {@link #getParentImports()} instead.
         * @return imports
         */
        @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPut_unsupportedPresentExistingValue() {
        try {
          assertEquals("put(present, existingValue) should return present or throw", v0(), put(e0()));
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                        <parent>
                            <groupId>com.example</groupId>
                            <artifactId>parent-project</artifactId>
                            <version>1.0.0</version>
                        </parent>
                        <artifactId>child-project</artifactId>
                        <!-- No explicit groupId or version - would inherit from parent -->
                    </project>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

    /**
     * Tests {@code Parent}.
     *
     */
    class ParentTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Parent().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentToPresent() {
        assertEquals(
            "Map.compute(present, functionReturningValue) should return new value",
            v3(),
            getMap()
                .compute(
                    k0(),
                    (k, v) -> {
                      assertEquals(k0(), k);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      @CollectionSize.Require(absent = ZERO)
      public void testCompute_presentToPresent() {
        assertEquals(
            "Map.compute(present, functionReturningValue) should return new value",
            v3(),
            getMap()
                .compute(
                    k0(),
                    (k, v) -> {
                      assertEquals(k0(), k);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        /**
         * Creates a new class realm with the specified parent and imports.
         *
         * @param baseRealmId The base id to use for the new realm, must not be {@code null}.
         * @param type The type of the class realm, must not be {@code null}.
         * @param parent The parent realm for the new realm, may be {@code null}.
         * @param parentImports The packages/types to import from the parent realm, may be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top