Changeset 20481 in osm for applications/editors/josm/plugins/cadastre-fr/src
- Timestamp:
- 2010-03-14T21:15:44+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
r20412 r20481 9 9 import java.awt.event.ActionListener; 10 10 import java.awt.event.KeyEvent; 11 import java.io.File; 11 12 12 13 import javax.swing.JCheckBoxMenuItem; … … 149 150 System.out.println("Pluging cadastre-fr v"+VERSION+" started..."); 150 151 if (Main.pref.get("cadastrewms.cacheDir").equals("")) 151 cacheDir = Main.pref.getPreferencesDir()+"plugins /cadastrewms/";152 cacheDir = Main.pref.getPreferencesDir()+"plugins"+File.pathSeparatorChar+"cadastrewms"+File.pathSeparatorChar; 152 153 else { 153 154 cacheDir = Main.pref.get("cadastrewms.cacheDir"); 154 if (cacheDir.charAt(cacheDir.length()-1) != '\\')155 cacheDir += '\\';155 if (cacheDir.charAt(cacheDir.length()-1) != File.pathSeparatorChar ) 156 cacheDir += File.pathSeparatorChar; 156 157 } 157 158 System.out.println("current cache directory: "+cacheDir);
Note:
See TracChangeset
for help on using the changeset viewer.