This is an automated email from the ASF dual-hosted git repository. entl pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
commit 36ec2009bc4b04a812485ebfcb76c16f79ffe127 Author: Martin Entlicher <martin.entlic...@oracle.com> AuthorDate: Wed Jun 23 16:30:40 2021 +0200 Removing unused findEnabledTarget() method. --- .../modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java index e9e9de4..3113b6e 100644 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java @@ -404,12 +404,6 @@ public abstract class NbLaunchDelegate { } } - 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) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists