Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Jan 2, 2025
1 parent 309a78a commit 51be6b0
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public static int runMain(String[] argv) {
collect(Collectors.toSet());
}
Map<Repository, Optional<Exception>> historyCacheResults = getInstance().prepareIndexer(env,
searchPaths, addProjects, runIndex, subFiles, new ArrayList<>(repositories));
searchPaths, addProjects, runIndex, new ArrayList<>(repositories));

// Set updated configuration in RuntimeEnvironment. This is called so that repositories discovered
// in prepareIndexer() are stored in the Configuration used by RuntimeEnvironment.
Expand Down Expand Up @@ -1102,7 +1102,7 @@ public Map<Repository, Optional<Exception>> prepareIndexer(RuntimeEnvironment en

return prepareIndexer(env,
searchRepositories ? Collections.singleton(env.getSourceRootPath()) : Collections.emptySet(),
addProjects, true, subFiles, repositories);
addProjects, true, repositories);
}

/**
Expand All @@ -1117,7 +1117,6 @@ public Map<Repository, Optional<Exception>> prepareIndexer(RuntimeEnvironment en
* @param searchPaths list of paths relative to source root in which to search for repositories
* @param addProjects if true, add projects
* @param createHistoryCache create history cache flag
* @param subFiles list of directories
* @param repositories list of repository paths relative to source root
* @return map of repository to exception
* @throws IndexerException indexer exception
Expand All @@ -1127,7 +1126,6 @@ public Map<Repository, Optional<Exception>> prepareIndexer(RuntimeEnvironment en
Set<String> searchPaths,
boolean addProjects,
boolean createHistoryCache,
List<String> subFiles,
List<String> repositories) throws IndexerException, IOException {

if (!env.validateUniversalCtags()) {
Expand Down

0 comments on commit 51be6b0

Please sign in to comment.