New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #130: Support for JSON-RPC-like Debug Server Protocol's RPC #131

Merged
merged 5 commits into from Nov 29, 2017
Prev

Fix minor Javadoc warnings

These are warnings always seen when running gradle build

Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
  • Loading branch information...
jonahgraham committed Nov 28, 2017
commit ddbdb25de3068e4dbd2fa7a028787781ab01ec86
@@ -35,7 +35,7 @@ private CompletableFutures() {}
/**
* A utility method to create a {@link CompletableFuture} with cancellation support.
*
* @param code a function that accepts a {@link CancelIndicator} and returns the to be computed value
* @param code a function that accepts a {@link CancelChecker} and returns the to be computed value
* @return a future
*/
public static <R> CompletableFuture<R> computeAsync(Executor executor, Function<CancelChecker, R> code) {
@@ -25,7 +25,7 @@ private ServiceEndpoints() {}
* Wraps a given {@link Endpoint} in the given service interface.
* @param endpoint
* @param interface_
* @return
* @return the wrapped service object
*/
@SuppressWarnings("unchecked")
public static <T> T toServiceObject(Endpoint endpoint, Class<T> interface_) {
@@ -37,7 +37,7 @@ private ServiceEndpoints() {}
* Wraps a given object with service annotations behind an {@link Endpoint} interface.
*
* @param serviceObject
* @return
* @return the wrapped service endpoint
*/
public static Endpoint toEndpoint(Object serviceObject) {
return new GenericEndpoint(serviceObject);
@@ -47,7 +47,7 @@ public static Endpoint toEndpoint(Object serviceObject) {
* Finds all Json RPC methods on a given class
*
* @param type
* @return
* @return the suppoerd JsonRpcMethods
*/
public static Map<String, JsonRpcMethod> getSupportedMethods(Class<?> type) {
Set<Class<?>> visitedTypes = new HashSet<>();
@@ -1515,7 +1515,7 @@ class InitializeParams {
/**
* The rootPath of the workspace. Is null if no folder is open.
*
* @deprecared in favour of rootUri.
* @deprecated in favour of rootUri.
*/
@Deprecated
String rootPath
@@ -24,7 +24,7 @@
/**
* The rootPath of the workspace. Is null if no folder is open.
*
* @deprecared in favour of rootUri.
* @deprecated in favour of rootUri.
*/
@Deprecated
private String rootPath;
@@ -76,7 +76,7 @@ public void setProcessId(final Integer processId) {
/**
* The rootPath of the workspace. Is null if no folder is open.
*
* @deprecared in favour of rootUri.
* @deprecated in favour of rootUri.
*/
@Pure
@Deprecated
@@ -87,7 +87,7 @@ public String getRootPath() {
/**
* The rootPath of the workspace. Is null if no folder is open.
*
* @deprecared in favour of rootUri.
* @deprecated in favour of rootUri.
*/
@Deprecated
public void setRootPath(final String rootPath) {
ProTip! Use n and p to navigate between commits in a pull request.