We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9e1de commit 38e0377Copy full SHA for 38e0377
src/main/java/edu/ie3/datamodel/io/IoUtil.java
@@ -43,8 +43,7 @@ public static Path harmonizeFileSeparator(Path path) {
43
in = in.replaceFirst("^" + IoUtil.FILE_SEPARATOR_REGEX, "");
44
}
45
46
- return Path.of(
47
- IoUtil.harmonizeFileSeparator(in.replaceAll(IoUtil.FILE_SEPARATOR_REGEX + "$", "")));
+ return Path.of(IoUtil.harmonizeFileSeparator(in));
48
49
50
/**
0 commit comments