Skip to content

Commit

Permalink
Removing unused findEnabledTarget() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
entlicher committed Jun 24, 2021
1 parent 5f0acca commit 36ec200
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,6 @@ private List<String> argsToStringList(Object o) {
}
}

private static CompletableFuture<Pair<ActionProvider, String>> findEnabledTarget(FileObject toRun, SingleMethod singleMethod, boolean debug, boolean testRun, NbProcessConsole ioContext) throws IllegalArgumentException {
return findTargetWithPossibleRebuild(toRun, singleMethod, debug, testRun, ioContext).thenApply((Pair<ActionProvider, String> actionAndCommand) -> {
return null;
});
}

private static CompletableFuture<Pair<ActionProvider, String>> findTargetWithPossibleRebuild(FileObject toRun, SingleMethod singleMethod, boolean debug, boolean testRun, NbProcessConsole ioContext) throws IllegalArgumentException {
Pair<ActionProvider, String> providerAndCommand = findTarget(toRun, singleMethod, debug, testRun);
if (providerAndCommand != null) {
Expand Down

0 comments on commit 36ec200

Please sign in to comment.