diff --git a/common/source/java/ch/systemsx/cisd/common/highwatermark/HostAwareFileWithHighwaterMark.java b/common/source/java/ch/systemsx/cisd/common/highwatermark/HostAwareFileWithHighwaterMark.java index 4d6a156ee488b9bea569897332c2b7d27efc196d..87d01497cbf005c12e20bdb1a872f51cb58ac6de 100644 --- a/common/source/java/ch/systemsx/cisd/common/highwatermark/HostAwareFileWithHighwaterMark.java +++ b/common/source/java/ch/systemsx/cisd/common/highwatermark/HostAwareFileWithHighwaterMark.java @@ -129,7 +129,7 @@ public final class HostAwareFileWithHighwaterMark extends HostAwareFile } else { rsyncModuleOrNull = null; - file = getCanonicalFile(hostFile.substring(index + 1)); + file = new File(hostFile.substring(index + 1)); } } else { @@ -139,8 +139,8 @@ public final class HostAwareFileWithHighwaterMark extends HostAwareFile final long highwaterMarkInKb = PropertyUtils.getLong(properties, hostFilePropertyKey.concat(SEP).concat( HIGHWATER_MARK_PROPERTY_KEY), -1L); - return new HostAwareFileWithHighwaterMark(hostNameOrNull, file, - rsyncModuleOrNull, highwaterMarkInKb); + return new HostAwareFileWithHighwaterMark(hostNameOrNull, file, rsyncModuleOrNull, + highwaterMarkInKb); } private static File getCanonicalFile(final String hostFile)