/** * Creates a new result for the specified request. * * @param request The resolution request, must not be {@code null}. */ public DependencyResult( DependencyRequest request ) { if ( request == null ) { throw new IllegalArgumentException( "dependency request has not been specified" ); } this.request = request; this.root = request.getRoot(); this.collectExceptions = new ArrayList<Exception>( 2 ); this.artifactResults = new ArrayList<ArtifactResult>( 2 ); }
/** * Creates a new result for the specified request. * * @param request The resolution request, must not be {@code null}. */ public DependencyResult( DependencyRequest request ) { if ( request == null ) { throw new IllegalArgumentException( "dependency request has not been specified" ); } this.request = request; this.root = request.getRoot(); this.collectExceptions = new ArrayList<Exception>( 2 ); this.artifactResults = new ArrayList<ArtifactResult>( 2 ); }
/** * Creates a new result for the specified request. * * @param request The resolution request, must not be {@code null}. */ public DependencyResult( DependencyRequest request ) { if ( request == null ) { throw new IllegalArgumentException( "dependency request has not been specified" ); } this.request = request; this.root = request.getRoot(); this.collectExceptions = new ArrayList<Exception>( 2 ); this.artifactResults = new ArrayList<ArtifactResult>( 2 ); }