/** * Creates a request for the specified artifact/metadata and remote repository. * * @param item The artifact/metadata for which to determine the error policy, may be {@code null}. * @param repository The repository from which the resolution is attempted, may be {@code null}. */ public ResolutionErrorPolicyRequest( T item, RemoteRepository repository ) { setItem( item ); setRepository( repository ); }
/** * Creates a request for the specified artifact/metadata and remote repository. * * @param item The artifact/metadata for which to determine the error policy, may be {@code null}. * @param repository The repository from which the resolution is attempted, may be {@code null}. */ public ResolutionErrorPolicyRequest( T item, RemoteRepository repository ) { setItem( item ); setRepository( repository ); }