mirror of https://github.com/apache/archiva.git
restore previous behaviour, though it appears wrong
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c5d079a9a4
commit
26a9c2edfc
|
@ -129,10 +129,12 @@ public class RefineConflictsVisitor
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -185,15 +185,15 @@ public abstract class AbstractDependencyGraphFactoryTestCase
|
|||
|
||||
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;
|
||||
|
@ -237,8 +237,8 @@ public abstract class AbstractDependencyGraphFactoryTestCase
|
|||
|
||||
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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue