[MNG-6147] MetadataResolutionResult#getGraph() contains duplicate if clause

This commit is contained in:
Michael Osipov 2017-01-28 15:26:52 +01:00
parent 920f10a561
commit f53f1547a1
1 changed files with 0 additions and 4 deletions

View File

@ -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();