Skip to content

Commit

Permalink
Merge pull request #13 from tdrwenski/fix-epsg-database-path
Browse files Browse the repository at this point in the history
Fix epsg database path
  • Loading branch information
tdrwenski authored Oct 3, 2024
2 parents b9c26c0 + 81b4922 commit c49447b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions common/src/main/java/uk/ac/rdg/resc/edal/util/GISUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

package uk.ac.rdg.resc.edal.util;

import java.io.File;
import java.lang.reflect.Field;
import java.nio.file.FileSystems;
import java.sql.Connection;
Expand Down Expand Up @@ -1400,9 +1399,6 @@ public Object getObjectInstance(Object obj, Name name, Context nameCtx,
} else {
path = EpsgDatabasePath.DB_PATH;
}
// Ensure path is suitable for a URI, especially on Windows machines
File fp = new File(path);
path = fp.toURI().toString();
/*
* AUTO_SERVER=TRUE means that this DB will run in embedded mode on
* the first JVM. However, if a second JVM tries to access it, it
Expand Down

0 comments on commit c49447b

Please sign in to comment.