Skip to content

Commit 527e7b7

Browse files
committed
Adjust lsp-java to native json
1 parent 790c5f8 commit 527e7b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lsp-java.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,13 +413,13 @@ FULL specify whether full or incremental build will be performed."
413413

414414
(cl-defmethod lsp-execute-command
415415
(_server (command (eql java.show.references)) params)
416-
(if-let (refs (cl-third params))
416+
(if-let (refs (seq-elt params 2))
417417
(xref--show-xrefs (lsp--locations-to-xref-items refs) nil)
418418
(user-error "No references")))
419419

420420
(cl-defmethod lsp-execute-command
421421
(_server (command (eql java.show.implementations)) params)
422-
(if-let (refs (cl-third params))
422+
(if-let (refs (seq-elt params 2))
423423
(xref--show-xrefs (lsp--locations-to-xref-items refs) nil)
424424
(user-error "No implementations")))
425425

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy