Issue #1469 - getPath will be used in the place of getAbsolutePath so java does not prepend a fictional path to the beginning of the expected path

Former-commit-id: 55550007cb [formerly 2ed28bed93] [formerly 8c118e791b [formerly 18676a8f73c7ac0eb2ce0ff25cf3c66ae1f72f02]]
Former-commit-id: 8c118e791b
Former-commit-id: 0a39b4ddf1
This commit is contained in:
Bryan Kowal 2013-01-15 18:46:46 -06:00
parent 03ccca567a
commit 1eb4e6d41e
3 changed files with 3 additions and 3 deletions

View file

@ -295,7 +295,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter {
}
GridRecord record = data.getGridSource();
area = record.getLocation();
String file = HDF5Util.findHDF5Location(record).getAbsolutePath();
String file = HDF5Util.findHDF5Location(record).getPath();
if (file != null) {
List<GridRequestableData> list = fileMap.get(file);
if (list == null) {

View file

@ -1552,7 +1552,7 @@ public class Dgdriv {
//}
if (file != null)
filename = file.getAbsolutePath();
filename = file.getPath();
return filename;
}

View file

@ -1067,7 +1067,7 @@ public class TestDgdriv {
//}
if (file != null)
filename = file.getAbsolutePath();
filename = file.getPath();
return filename;
}