Skip to content

Commit ddbdb25

Browse files
committed
Fix minor Javadoc warnings
These are warnings always seen when running gradle build Signed-off-by: Jonah Graham <[email protected]>
1 parent e336919 commit ddbdb25

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

org.eclipse.lsp4j.jsonrpc/src/main/java/org/eclipse/lsp4j/jsonrpc/CompletableFutures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static <R> CompletableFuture<R> computeAsync(Function<CancelChecker, R> c
3535
/**
3636
* A utility method to create a {@link CompletableFuture} with cancellation support.
3737
*
38-
* @param code a function that accepts a {@link CancelIndicator} and returns the to be computed value
38+
* @param code a function that accepts a {@link CancelChecker} and returns the to be computed value
3939
* @return a future
4040
*/
4141
public static <R> CompletableFuture<R> computeAsync(Executor executor, Function<CancelChecker, R> code) {

org.eclipse.lsp4j.jsonrpc/src/main/java/org/eclipse/lsp4j/jsonrpc/services/ServiceEndpoints.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private ServiceEndpoints() {}
2525
* Wraps a given {@link Endpoint} in the given service interface.
2626
* @param endpoint
2727
* @param interface_
28-
* @return
28+
* @return the wrapped service object
2929
*/
3030
@SuppressWarnings("unchecked")
3131
public static <T> T toServiceObject(Endpoint endpoint, Class<T> interface_) {
@@ -37,7 +37,7 @@ public static <T> T toServiceObject(Endpoint endpoint, Class<T> interface_) {
3737
* Wraps a given object with service annotations behind an {@link Endpoint} interface.
3838
*
3939
* @param serviceObject
40-
* @return
40+
* @return the wrapped service endpoint
4141
*/
4242
public static Endpoint toEndpoint(Object serviceObject) {
4343
return new GenericEndpoint(serviceObject);
@@ -47,7 +47,7 @@ public static Endpoint toEndpoint(Object serviceObject) {
4747
* Finds all Json RPC methods on a given class
4848
*
4949
* @param type
50-
* @return
50+
* @return the suppoerd JsonRpcMethods
5151
*/
5252
public static Map<String, JsonRpcMethod> getSupportedMethods(Class<?> type) {
5353
Set<Class<?>> visitedTypes = new HashSet<>();

org.eclipse.lsp4j/src/main/java/org/eclipse/lsp4j/Protocol.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ class InitializeParams {
15151515
/**
15161516
* The rootPath of the workspace. Is null if no folder is open.
15171517
*
1518-
* @deprecared in favour of rootUri.
1518+
* @deprecated in favour of rootUri.
15191519
*/
15201520
@Deprecated
15211521
String rootPath

org.eclipse.lsp4j/src/main/xtend-gen/org/eclipse/lsp4j/InitializeParams.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class InitializeParams {
2424
/**
2525
* The rootPath of the workspace. Is null if no folder is open.
2626
*
27-
* @deprecared in favour of rootUri.
27+
* @deprecated in favour of rootUri.
2828
*/
2929
@Deprecated
3030
private String rootPath;
@@ -76,7 +76,7 @@ public void setProcessId(final Integer processId) {
7676
/**
7777
* The rootPath of the workspace. Is null if no folder is open.
7878
*
79-
* @deprecared in favour of rootUri.
79+
* @deprecated in favour of rootUri.
8080
*/
8181
@Pure
8282
@Deprecated
@@ -87,7 +87,7 @@ public String getRootPath() {
8787
/**
8888
* The rootPath of the workspace. Is null if no folder is open.
8989
*
90-
* @deprecared in favour of rootUri.
90+
* @deprecated in favour of rootUri.
9191
*/
9292
@Deprecated
9393
public void setRootPath(final String rootPath) {

0 commit comments

Comments
 (0)