maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject [maven-artifact-transfer] 01/01: [MSHARED-742] - Add null check for DependencyResolver Interface o Added missing check of ProjectBuildingRequest parameter
Date Sun, 01 Jul 2018 11:35:49 GMT
This is an automated email from the ASF dual-hosted git repository.

khmarbaise pushed a commit to branch MSHARED-742
in repository https://gitbox.apache.org/repos/asf/maven-artifact-transfer.git

commit 8000df69abe4222ce426b39fc76a9f1ab6b4a62d
Author: Karl Heinz Marbaise <khmarbaise@apache.org>
AuthorDate: Sun Jul 1 13:35:11 2018 +0200

    [MSHARED-742] - Add null check for DependencyResolver Interface
     o Added missing check of ProjectBuildingRequest parameter
---
 .../dependencies/resolve/internal/DefaultDependencyResolver.java        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/maven/shared/transfer/dependencies/resolve/internal/DefaultDependencyResolver.java
b/src/main/java/org/apache/maven/shared/transfer/dependencies/resolve/internal/DefaultDependencyResolver.java
index 6c8fff6..9a1637d 100644
--- a/src/main/java/org/apache/maven/shared/transfer/dependencies/resolve/internal/DefaultDependencyResolver.java
+++ b/src/main/java/org/apache/maven/shared/transfer/dependencies/resolve/internal/DefaultDependencyResolver.java
@@ -53,6 +53,8 @@ class DefaultDependencyResolver
                                                          TransformableFilter filter )
         throws DependencyResolverException
     {
+        validateBuildingRequest( buildingRequest );
+        
         try
         {
             String hint = isMaven31() ? "maven31" : "maven3";


Mime
View raw message