cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkazimirc...@apache.org
Subject svn commit: r1538457 - /cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/ImportDataMapAction.java
Date Sun, 03 Nov 2013 21:17:39 GMT
Author: dkazimirchyk
Date: Sun Nov  3 21:17:38 2013
New Revision: 1538457

URL: http://svn.apache.org/r1538457
Log:
CAY-1797 NPE importing DataMap

fix formatting

Modified:
    cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/ImportDataMapAction.java

Modified: cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/ImportDataMapAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/ImportDataMapAction.java?rev=1538457&r1=1538456&r2=1538457&view=diff
==============================================================================
--- cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/ImportDataMapAction.java
(original)
+++ cayenne/main/trunk/modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/ImportDataMapAction.java
Sun Nov  3 21:17:38 2013
@@ -106,7 +106,7 @@ public class ImportDataMapAction extends
             
             Resource baseResource = domain.getConfigurationSource();
 
-            if(baseResource != null) {
+            if (baseResource != null) {
                 Resource dataMapResource = baseResource.getRelativeResource(newMap.getName());
                 newMap.setConfigurationSource(dataMapResource);
             }



Mime
View raw message