JaroslavTulach commented on a change in pull request #3044:
URL: https://github.com/apache/netbeans/pull/3044#discussion_r667718082



##########
File path: 
java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/LspTemplateUI.java
##########
@@ -98,7 +105,7 @@ private LspTemplateUI() {
     private CompletableFuture<Object> templateUI(DataFolder templates, 
NbCodeLanguageClient client, ExecuteCommandParams params) {
         CompletionStage<DataObject> findTemplate = findTemplate(templates, 
client);
         CompletionStage<Pair<DataFolder, String>> findTargetFolderAndName = 
findTargetAndName(findTemplate, client, params);
-        return findTargetFolderAndName.thenCombine(findTemplate, 
(targetAndName, source) -> {
+        return findTargetFolderAndName.thenCombineAsync(findTemplate, 
(targetAndName, source) -> {

Review comment:
       I see.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to