Skip to content

Commit 3111960

Browse files
committed
remove unnecessary comment + code
1 parent c4b3907 commit 3111960

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/history/FileHistoryCacheTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,6 @@ void testRenamedFile() throws Exception {
840840
private void checkNoHistoryFetchRepo(String repoName, String filename, boolean hasHistory) throws Exception {
841841

842842
File reposRoot = new File(repositories.getSourceRoot(), repoName);
843-
Repository repo = RepositoryFactory.getRepository(reposRoot);
844843

845844
// Make sure the file exists in the repository.
846845
File repoFile = new File(reposRoot, filename);
@@ -858,7 +857,6 @@ private void checkNoHistoryFetchRepo(String repoName, String filename, boolean h
858857
@EnabledForRepository({MERCURIAL, SCCS})
859858
@Test
860859
void testNoHistoryFetch() throws Exception {
861-
// Do not create history cache for files which do not have it cached.
862860
env.setFetchHistoryWhenNotInCache(false);
863861

864862
// Pretend we are done with first phase of indexing.

0 commit comments

Comments
 (0)