From 5f3a456d7f404e496160070d8a79b30b54a68f1e Mon Sep 17 00:00:00 2001 From: brinn <brinn> Date: Wed, 5 Sep 2012 13:07:52 +0000 Subject: [PATCH] Do not change the path of a given file to be absolute in the constructor of HostAwareFile. SVN: 26518 --- .../java/ch/systemsx/cisd/common/filesystem/HostAwareFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/source/java/ch/systemsx/cisd/common/filesystem/HostAwareFile.java b/common/source/java/ch/systemsx/cisd/common/filesystem/HostAwareFile.java index 7ed044a460d..c028e640123 100644 --- a/common/source/java/ch/systemsx/cisd/common/filesystem/HostAwareFile.java +++ b/common/source/java/ch/systemsx/cisd/common/filesystem/HostAwareFile.java @@ -43,7 +43,7 @@ public class HostAwareFile extends AbstractHashable implements Serializable public HostAwareFile(final File path) { - this(null, path.getAbsolutePath(), null); + this(null, path.getPath(), null); } public HostAwareFile(final String hostOrNull, final String path, final String rsyncModuleOrNull) -- GitLab