private static Throwable getCause( ArtifactDescriptorResult result ) { Throwable cause = null; if ( result != null && !result.getExceptions().isEmpty() ) { cause = result.getExceptions().get( 0 ); } return cause; }
private static Throwable getCause( ArtifactDescriptorResult result ) { Throwable cause = null; if ( result != null && !result.getExceptions().isEmpty() ) { cause = result.getExceptions().get( 0 ); } return cause; }