You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/01/28 20:17:14 UTC
[jira] [Closed] (MSHARED-678) Add null check for ProjectInstaller
Interface
[ https://issues.apache.org/jira/browse/MSHARED-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MSHARED-678.
---------------------------------------
Resolution: Fixed
Done in [4e3ac40f6f9448ae6df1e5bf549c9fab8bea2c2a|https://gitbox.apache.org/repos/asf?p=maven-artifact-transfer.git;a=commitdiff;h=4e3ac40f6f9448ae6df1e5bf549c9fab8bea2c2a]
> Add null check for ProjectInstaller Interface
> ---------------------------------------------
>
> Key: MSHARED-678
> URL: https://issues.apache.org/jira/browse/MSHARED-678
> Project: Maven Shared Components
> Issue Type: Improvement
> Components: maven-artifact-transfer
> Affects Versions: maven-artifact-transfer-0.9.1
> Reporter: Karl Heinz Marbaise
> Assignee: Karl Heinz Marbaise
> Priority: Minor
> Fix For: maven-artifact-transfer-1.0.0
>
>
> Currently the interface {{ProjectInstaller}} defines the following method:
> {code:java}
> void install( ProjectBuildingRequest projectBuildingRequest, ProjectInstallerRequest projectInstallerRequest )
> throws IOException, ArtifactInstallerException, NoFileAssignedException;
> {code}
> where we should check the parameter against {{null}} which should not be allowed to be given as parameter. The result should be an {{IllegalArgumentException}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)