mirror of https://github.com/apache/maven.git
[MNG-6147] MetadataResolutionResult#getGraph() contains duplicate if clause
This commit is contained in:
parent
920f10a561
commit
f53f1547a1
|
@ -119,10 +119,6 @@ public class MetadataResolutionResult
|
||||||
{
|
{
|
||||||
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.test );
|
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.test );
|
||||||
}
|
}
|
||||||
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.classpathRuntime ) )
|
|
||||||
{
|
|
||||||
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.test );
|
|
||||||
}
|
|
||||||
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.graph ) )
|
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.graph ) )
|
||||||
{
|
{
|
||||||
return getGraph();
|
return getGraph();
|
||||||
|
|
Loading…
Reference in New Issue