File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
opengrok-indexer/src/test/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33
33
import org .opengrok .indexer .util .TestRepository ;
34
34
35
35
import java .io .File ;
36
+ import java .nio .file .Paths ;
36
37
import java .util .Date ;
37
38
import java .util .Iterator ;
38
39
import java .util .LinkedList ;
@@ -170,7 +171,7 @@ public void testStoreAndGetIncrementalTags() throws Exception {
170
171
171
172
// Add bunch of changesets with file based changes and tags.
172
173
MercurialRepositoryTest .runHgCommand (reposRoot , "import" ,
173
- new File (getClass ().getResource ("/history/hg-export-tag.txt" ).getFile ()).getAbsolutePath ());
174
+ Paths . get (getClass ().getResource ("/history/hg-export-tag.txt" ).toURI ()).toString ());
174
175
175
176
// Perform incremental reindex.
176
177
repo .createCache (cache , cache .getLatestCachedRevision (repo ));
You can’t perform that action at this time.
0 commit comments