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 ed5ac2b commit 72cbb86Copy full SHA for 72cbb86
src/org/opensolaris/opengrok/history/RepositoryInfo.java
@@ -26,6 +26,7 @@
26
import java.io.File;
27
import java.io.IOException;
28
import java.io.Serializable;
29
+import java.nio.file.Paths;
30
import java.text.SimpleDateFormat;
31
import java.util.Objects;
32
import java.util.logging.Level;
@@ -139,8 +140,9 @@ public void setDirectoryNameRelative(String dir) {
139
140
* @return the name of the root directory
141
*/
142
public String getDirectoryName() {
- return RuntimeEnvironment.getInstance().getSourceRootPath() +
143
- directoryNameRelative;
+ return Paths.get(RuntimeEnvironment.getInstance().getSourceRootPath(),
144
+ directoryNameRelative).toString();
145
+
146
}
147
148
/**
0 commit comments