mirror of https://github.com/apache/maven.git
Simplify logic
This commit is contained in:
parent
a6614ebd68
commit
7267996db8
|
@ -94,12 +94,12 @@ public class MetadataGraphVertex
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( s1 == null && s2 != null )
|
if ( s1 == null /* && s2 != null */ )
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( s1 != null && s2 == null )
|
if ( /* s1 != null && */ s2 == null )
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue