[Swift-commit] r7960 - trunk/src/org/griphyn/vdl/mapping

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Jul 4 01:46:50 CDT 2014


Author: hategan
Date: 2014-07-04 01:46:49 -0500 (Fri, 04 Jul 2014)
New Revision: 7960

Modified:
   trunk/src/org/griphyn/vdl/mapping/DuplicateMappingChecker.java
Log:
some previously uncommitted change

Modified: trunk/src/org/griphyn/vdl/mapping/DuplicateMappingChecker.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/DuplicateMappingChecker.java	2014-07-04 06:44:17 UTC (rev 7959)
+++ trunk/src/org/griphyn/vdl/mapping/DuplicateMappingChecker.java	2014-07-04 06:46:49 UTC (rev 7960)
@@ -27,7 +27,12 @@
     private final Map<PhysicalFormat, Entry> map;
     
     public DuplicateMappingChecker(VDL2Config conf) {
-        enabled = !"off".equals(conf.getProperty(VDL2ConfigProperties.DM_CHECKER));
+    	if (conf == null) {
+    		enabled = true;
+    	}
+    	else {
+    	    enabled = !"off".equals(conf.getProperty(VDL2ConfigProperties.DM_CHECKER));
+    	}
         map = new HashMap<PhysicalFormat, Entry>();
     }
     




More information about the Swift-commit mailing list