Package org.apache.maven.project.artifact.DefaultMavenMetadataCache

Examples of org.apache.maven.project.artifact.DefaultMavenMetadataCache.CacheKey


        // sanity checks
        assertNotSame( a1, a2 );
        assertNotSame( lr1, lr2 );
        assertNotSame( rr1, rr2 );

        CacheKey k1 = new CacheKey( a1, false, lr1, Collections.singletonList( rr1 ) );
        CacheKey k2 = new CacheKey( a2, false, lr2, Collections.singletonList( rr2 ) );
       
        assertEquals(k1.hashCode(), k2.hashCode());
    }
View Full Code Here


        // sanity checks
        assertNotSame( a1, a2 );
        assertNotSame( lr1, lr2 );
        assertNotSame( rr1, rr2 );

        CacheKey k1 = new CacheKey( a1, false, lr1, Collections.singletonList( rr1 ) );
        CacheKey k2 = new CacheKey( a2, false, lr2, Collections.singletonList( rr2 ) );
       
        assertEquals(k1.hashCode(), k2.hashCode());
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.project.artifact.DefaultMavenMetadataCache.CacheKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.