From: <svn...@os...> - 2010-03-29 13:37:49
|
Author: jive Date: 2010-03-29 09:37:38 -0400 (Mon, 29 Mar 2010) New Revision: 35130 Modified: branches/2.6.x/modules/unsupported/epsg-h2/ branches/2.6.x/modules/unsupported/epsg-h2/src/main/java/org/geotools/referencing/factory/epsg/DatabaseCreationScript.java Log: rollback to Java 5 api Property changes on: branches/2.6.x/modules/unsupported/epsg-h2 ___________________________________________________________________ Deleted: svn:mergeinfo - /trunk/modules/unsupported/epsg-h2:35124 Modified: branches/2.6.x/modules/unsupported/epsg-h2/src/main/java/org/geotools/referencing/factory/epsg/DatabaseCreationScript.java =================================================================== --- branches/2.6.x/modules/unsupported/epsg-h2/src/main/java/org/geotools/referencing/factory/epsg/DatabaseCreationScript.java 2010-03-29 13:29:00 UTC (rev 35129) +++ branches/2.6.x/modules/unsupported/epsg-h2/src/main/java/org/geotools/referencing/factory/epsg/DatabaseCreationScript.java 2010-03-29 13:37:38 UTC (rev 35130) @@ -57,17 +57,8 @@ /** * Preventive cleanup of the files should an old run was broken or stopped in the middle */ - if( indexFile.exists() && !indexFile.canWrite()){ - indexFile.setWritable(true,false); - } indexFile.delete(); - if( databaseFile.exists() && !databaseFile.canWrite()){ - databaseFile.setWritable(true,false); - } databaseFile.delete(); - if( zipFile.exists() && !zipFile.canWrite()){ - zipFile.setWritable(true,false); - } zipFile.delete(); |