incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1164518 - /incubator/ace/trunk/ace-deployment-provider-base/src/main/java/org/apache/ace/deployment/provider/impl/ArtifactDataImpl.java
Date Fri, 02 Sep 2011 13:05:32 GMT
Author: marrs
Date: Fri Sep  2 13:05:32 2011
New Revision: 1164518

URL: http://svn.apache.org/viewvc?rev=1164518&view=rev
Log:
ACE-178 Added a null check because of a test case failure.

Modified:
    incubator/ace/trunk/ace-deployment-provider-base/src/main/java/org/apache/ace/deployment/provider/impl/ArtifactDataImpl.java

Modified: incubator/ace/trunk/ace-deployment-provider-base/src/main/java/org/apache/ace/deployment/provider/impl/ArtifactDataImpl.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-deployment-provider-base/src/main/java/org/apache/ace/deployment/provider/impl/ArtifactDataImpl.java?rev=1164518&r1=1164517&r2=1164518&view=diff
==============================================================================
--- incubator/ace/trunk/ace-deployment-provider-base/src/main/java/org/apache/ace/deployment/provider/impl/ArtifactDataImpl.java
(original)
+++ incubator/ace/trunk/ace-deployment-provider-base/src/main/java/org/apache/ace/deployment/provider/impl/ArtifactDataImpl.java
Fri Sep  2 13:05:32 2011
@@ -187,9 +187,11 @@ public class ArtifactDataImpl implements
             }
         }
         
-        String path = m_directives.get(DeploymentArtifact.REPOSITORY_PATH);
-        if (path != null) {
-        	a.putValue(DeploymentArtifact.REPOSITORY_PATH, path);
+        if (m_directives != null) {
+            String path = m_directives.get(DeploymentArtifact.REPOSITORY_PATH);
+            if (path != null) {
+            	a.putValue(DeploymentArtifact.REPOSITORY_PATH, path);
+            }
         }
         if (!hasChanged() && fixPackage) {
             a.putValue("DeploymentPackage-Missing", "true");



Mime
View raw message