return -1;
}
- String version1 = o1.artifact.getVersion();
- String version2 = o2.artifact.getVersion();
-
- return VersionComparator.getInstance().compare( version1, version2 );
+// String version1 = o1.artifact.getVersion();
+// String version2 = o2.artifact.getVersion();
+//
+// VersionComparator.getInstance().compare( version1, version2 );
+
+ return 0;
}
}
CollectionUtils.transform( actualNodes, new ToKeyTransformer() );
- Collection<DependencyGraphNode> missingActualKeys = CollectionUtils.subtract( actualNodes, expectedNodeKeys );
- for ( DependencyGraphNode key : missingActualKeys )
+ Collection<String> missingActualKeys = CollectionUtils.subtract( actualNodes, expectedNodeKeys );
+ for ( String key : missingActualKeys )
{
sb.append( "\n (Extra Actual) " ).append( key );
fail = true;
}
- Collection<DependencyGraphNode> missingExpectedKeys = CollectionUtils.subtract( expectedNodeKeys, actualNodes );
- for ( DependencyGraphNode key : missingExpectedKeys )
+ Collection<String> missingExpectedKeys = CollectionUtils.subtract( expectedNodeKeys, actualNodes );
+ for ( String key : missingExpectedKeys )
{
sb.append( "\n (Extra Expected) " ).append( key );
fail = true;
CollectionUtils.transform( actualNodes, new ToKeyTransformer() );
- Collection<DependencyGraphNode> missingActualKeys = CollectionUtils.subtract( actualNodes, expectedNodeKeys );
- for ( DependencyGraphNode key : missingActualKeys )
+ Collection<String> missingActualKeys = CollectionUtils.subtract( actualNodes, expectedNodeKeys );
+ for ( String key : missingActualKeys )
{
sb.append( "\n (Extra Actual) " ).append( key );
}