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
[formerly2ed28bed93
] [formerly8c118e791b
[formerly 18676a8f73c7ac0eb2ce0ff25cf3c66ae1f72f02]] Former-commit-id:8c118e791b
Former-commit-id:0a39b4ddf1
This commit is contained in:
parent
03ccca567a
commit
1eb4e6d41e
3 changed files with 3 additions and 3 deletions
|
@ -295,7 +295,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter {
|
||||||
}
|
}
|
||||||
GridRecord record = data.getGridSource();
|
GridRecord record = data.getGridSource();
|
||||||
area = record.getLocation();
|
area = record.getLocation();
|
||||||
String file = HDF5Util.findHDF5Location(record).getAbsolutePath();
|
String file = HDF5Util.findHDF5Location(record).getPath();
|
||||||
if (file != null) {
|
if (file != null) {
|
||||||
List<GridRequestableData> list = fileMap.get(file);
|
List<GridRequestableData> list = fileMap.get(file);
|
||||||
if (list == null) {
|
if (list == null) {
|
||||||
|
|
|
@ -1552,7 +1552,7 @@ public class Dgdriv {
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (file != null)
|
if (file != null)
|
||||||
filename = file.getAbsolutePath();
|
filename = file.getPath();
|
||||||
return filename;
|
return filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1067,7 +1067,7 @@ public class TestDgdriv {
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (file != null)
|
if (file != null)
|
||||||
filename = file.getAbsolutePath();
|
filename = file.getPath();
|
||||||
return filename;
|
return filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue