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

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Thu Jul 3 20:35:28 CDT 2014


Author: hategan
Date: 2014-07-03 20:35:28 -0500 (Thu, 03 Jul 2014)
New Revision: 7936

Modified:
   trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java
Log:
Ooops, File.separatorChar, not File.pathSeparatorChar

Modified: trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java
===================================================================
--- trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java	2014-07-04 01:29:03 UTC (rev 7935)
+++ trunk/src/org/griphyn/vdl/mapping/file/MappingParamFileGenerator.java	2014-07-04 01:35:28 UTC (rev 7936)
@@ -105,7 +105,7 @@
         br.close();
         
         String pkg = f.getParentFile().getAbsolutePath().substring(
-            base.getAbsolutePath().length() + 1).replace(File.pathSeparatorChar, '.');
+            base.getAbsolutePath().length() + 1).replace(File.separatorChar, '.');
         File nf = new File(makeFileName(f));
         writeFile(nf, pkg, params, opts);
     }




More information about the Swift-commit mailing list