maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r706509 - /maven/components/branches/sisbell-maven-3.0-mercury/maven-shared-model/src/main/java/org/apache/maven/shared/model/ModelTransformerContext.java
Date Tue, 21 Oct 2008 04:24:28 GMT
Author: sisbell
Date: Mon Oct 20 21:24:24 2008
New Revision: 706509

URL: http://svn.apache.org/viewvc?rev=706509&view=rev
Log:
Added default interpolator list if the specified one is null.

Modified:
    maven/components/branches/sisbell-maven-3.0-mercury/maven-shared-model/src/main/java/org/apache/maven/shared/model/ModelTransformerContext.java

Modified: maven/components/branches/sisbell-maven-3.0-mercury/maven-shared-model/src/main/java/org/apache/maven/shared/model/ModelTransformerContext.java
URL: http://svn.apache.org/viewvc/maven/components/branches/sisbell-maven-3.0-mercury/maven-shared-model/src/main/java/org/apache/maven/shared/model/ModelTransformerContext.java?rev=706509&r1=706508&r2=706509&view=diff
==============================================================================
--- maven/components/branches/sisbell-maven-3.0-mercury/maven-shared-model/src/main/java/org/apache/maven/shared/model/ModelTransformerContext.java
(original)
+++ maven/components/branches/sisbell-maven-3.0-mercury/maven-shared-model/src/main/java/org/apache/maven/shared/model/ModelTransformerContext.java
Mon Oct 20 21:24:24 2008
@@ -211,7 +211,9 @@
                                  Collection<ImportModel> importModels, List<InterpolatorProperty>
interpolatorProperties)
         throws IOException
     {
-
+        if(interpolatorProperties == null) {
+            interpolatorProperties = new ArrayList<InterpolatorProperty>();
+        }
         List<ModelProperty> transformedProperties =
                 importModelProperties(importModels, fromModelTransformer.transformToModelProperties(
domainModels));
 



Mime
View raw message