commit | c1ef33864e1a4b4bb57dd6d24b38a7895cbde6e0 | [log] [tgz] |
---|---|---|
author | Svata Dedic <svatopluk.dedic@oracle.com> | Wed Sep 21 10:19:44 2022 +0200 |
committer | Svata Dedic <svatopluk.dedic@oracle.com> | Wed Sep 21 10:19:44 2022 +0200 |
tree | a20256885bcbda7f6170f57a24ed48c7eadb9f00 | |
parent | 771642c25b5649196bb23abd0eb3cfb18f9f87f5 [diff] |
Bugfix: use array locations.
diff --git a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java index 2060a45..d7e4494 100644 --- a/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java +++ b/java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/protocol/WorkspaceServiceImpl.java
@@ -609,6 +609,7 @@ } } }); + locations = locs.toArray(new URL[0]); } else if (o instanceof JsonPrimitive) { String s = ((JsonPrimitive)o).getAsString(); try {