aboutsummaryrefslogtreecommitdiff
path: root/common/src/main
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-03-14 10:43:20 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-03-14 10:43:20 +0100
commite9375ac9b0dbd5e9c5e19f0d2779dd94385b0040 (patch)
treedbb349061cc7f16d4c6f067a8b7e78b9daba7157 /common/src/main
parent65b593ec0e2603330ef977db531a6bdac8651994 (diff)
downloadmoa-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.java3
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;
}