Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MavenArtifactRepositorySubclass (0.14 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/repository/MavenArtifactRepositoryTest.java

        @Test
        void testHashCodeEquals() {
            MavenArtifactRepositorySubclass r1 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r2 = new MavenArtifactRepositorySubclass("foo");
            MavenArtifactRepositorySubclass r3 = new MavenArtifactRepositorySubclass("bar");
    
            assertTrue(r1.hashCode() == r2.hashCode());
            assertFalse(r1.hashCode() == r3.hashCode());
    
            assertTrue(r1.equals(r2));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top