- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for V2 (0.15 sec)
-
maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java
graph.setEntry(v1); v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0")); v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0")); v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0")); // v1-->v2 graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1)); graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 8.1K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
assertEquals(c2, c1, "expected " + v2 + ".equals( " + v1 + " )"); } private void checkVersionsHaveSameOrder(String v1, String v2) { ComparableVersion c1 = new ComparableVersion(v1); ComparableVersion c2 = new ComparableVersion(v2); assertEquals(0, c1.compareTo(c2), "expected " + v1 + " == " + v2); assertEquals(0, c2.compareTo(c1), "expected " + v2 + " == " + v1); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 09 06:39:47 GMT 2024 - 14K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
graph.setEntry(v1); v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0")); v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0")); v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0")); // v1-->v2 graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1)); graph.addEdge(v1, v2, new MetadataGraphEdge("1.2", true, null, null, 2, 2));
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/GraphTest.java
} static void addEdge(Graph graph, String v1, String v2) throws CycleDetectedException { Vertex vx1 = graph.addVertex(v1); Vertex vx2 = graph.addVertex(v2); graph.addEdge(vx1, vx2); } static boolean hasEdge(Graph graph, String v1, String v2) { Vertex vx1 = graph.getVertex(v1); Vertex vx2 = graph.getVertex(v2);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Sep 22 06:02:04 GMT 2023 - 8.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicy.java
ArtifactVersion v1 = new DefaultArtifactVersion(e1.getVersion()); ArtifactVersion v2 = new DefaultArtifactVersion(e2.getVersion()); if (newerFirst) { return v1.compareTo(v2) > 0 ? e1 : e2; } return v1.compareTo(v2) > 0 ? e2 : e1; } if (closerFirst) { return depth1 < depth2 ? e1 : e2; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 2.1K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
} @Test void testHashCode() { ArtifactVersion v1 = newArtifactVersion("1"); ArtifactVersion v2 = newArtifactVersion("1.0"); assertTrue(v1.equals(v2)); assertEquals(v1.hashCode(), v2.hashCode()); } @Test void testEqualsNullSafe() { assertFalse(newArtifactVersion("1").equals(null)); } @Test
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 9.5K bytes - Viewed (0)