Skip to content

Commit 9c57ebf

Browse files
Lubos KoscoLubos Kosco
Lubos Kosco
authored and
Lubos Kosco
committed
improve comment why we can change \ to /
1 parent be12918 commit 9c57ebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/org/opensolaris/opengrok/index/IndexDatabase.java

+1
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,7 @@ public static Definitions getDefinitions(File file)
10791079
RuntimeEnvironment env = RuntimeEnvironment.getInstance();
10801080
String path = env.getPathRelativeToSourceRoot(file, 0);
10811081
//sanitize windows path delimiters
1082+
//in order not to conflict with Lucene escape character
10821083
path=path.replace("\\", "/");
10831084

10841085
IndexReader ireader = getIndexReader(path);

0 commit comments

Comments
 (0)