Skip to content

Commit 9489792

Browse files
author
Vladimir Kotal
authored
fix path construction (#2299)
1 parent 23585e3 commit 9489792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ private void indexDown(File dir, String parent, IndexDownArgs args)
10771077
Arrays.sort(files, FILENAME_COMPARATOR);
10781078

10791079
for (File file : files) {
1080-
String path = parent + '/' + file.getName();
1080+
String path = parent + File.separator + file.getName();
10811081
if (!accept(dir, file, outLocalRelPath)) {
10821082
if (outLocalRelPath[0] != null) {
10831083
File xrefPath = new File(xrefDir, path);

0 commit comments

Comments
 (0)