You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by en...@apache.org on 2021/06/24 07:34:18 UTC
[netbeans] branch master updated (5f0acca -> 5fb463f)
This is an automated email from the ASF dual-hosted git repository.
entl pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.
from 5f0acca Add Run with configuration into code lenses.
new 36ec200 Removing unused findEnabledTarget() method.
new 5fb463f Do not proceed with launch with disabled action.
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] 02/02: Do not proceed with launch with disabled action.
Posted by en...@apache.org.
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 5fb463fe8f713cfde5f264b961526e93c1f0b807
Author: Svata Dedic <sv...@oracle.com>
AuthorDate: Wed Jun 23 17:59:24 2021 +0200
Do not proceed with launch with disabled action.
---
.../modules/java/lsp/server/debugging/launch/NbLaunchDelegate.java | 1 +
1 file changed, 1 insertion(+)
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 3113b6e..767ad13 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
@@ -260,6 +260,7 @@ public abstract class NbLaunchDelegate {
} else {
launchFuture.completeExceptionally(new CancellationException());
}
+ return;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[netbeans] 01/02: Removing unused findEnabledTarget() method.
Posted by en...@apache.org.
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 <ma...@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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists