diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-14 10:43:20 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-14 10:43:20 +0100 |
commit | e9375ac9b0dbd5e9c5e19f0d2779dd94385b0040 (patch) | |
tree | dbb349061cc7f16d4c6f067a8b7e78b9daba7157 /common/src/main | |
parent | 65b593ec0e2603330ef977db531a6bdac8651994 (diff) | |
download | moa-id-spss-e9375ac9b0dbd5e9c5e19f0d2779dd94385b0040.tar.gz moa-id-spss-e9375ac9b0dbd5e9c5e19f0d2779dd94385b0040.tar.bz2 moa-id-spss-e9375ac9b0dbd5e9c5e19f0d2779dd94385b0040.zip |
bufix: convert relativ path to absolut path
Diffstat (limited to 'common/src/main')
-rw-r--r-- | common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java b/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java index cac179a75..ff22c7313 100644 --- a/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java +++ b/common/src/main/java/at/gv/egovernment/moa/util/FileUtils.java @@ -133,7 +133,8 @@ public class FileUtils { keyFile = new File(url); if (!keyFile.isAbsolute()) { keyFile = new File(root, url); - newURL = keyFile.getPath(); + newURL = keyFile.toURI().toString(); + } return newURL; } |