Skip to content

Commit ad46a73

Browse files
authored
do not call getSCCSFile() twice (#4489)
1 parent 1f70700 commit ad46a73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/SCCSHistoryParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919

2020
/*
21-
* Copyright (c) 2007, 2022, Oracle and/or its affiliates. All rights reserved.
21+
* Copyright (c) 2007, 2023, Oracle and/or its affiliates. All rights reserved.
2222
*/
2323
package org.opengrok.indexer.history;
2424

@@ -82,7 +82,7 @@ private History parseFile(File file) throws IOException, ParseException {
8282
return null;
8383
}
8484

85-
in = new BufferedReader(new FileReader(getSCCSFile(file)));
85+
in = new BufferedReader(new FileReader(f));
8686
pass = sep = false;
8787
passRecord = true;
8888
active = true;

0 commit comments

Comments
 (0)