diff --git a/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/MoreFutures.java b/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/MoreFutures.java index bbc67a63..222ee7b9 100644 --- a/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/MoreFutures.java +++ b/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/MoreFutures.java @@ -111,11 +111,13 @@ public static void onFailure(@Nonnull final ListenableFuture future, *

If you are looking for a method to determine whether a given {@code Future} is done, use the * instance method {@link Future#isDone()}. * + * @deprecated Use Guava {@code Futures.getDone()} * @throws ExecutionException if the {@code Future} failed with an exception * @throws CancellationException if the {@code Future} was cancelled * @throws IllegalStateException if the {@code Future} is not done * @since Guava 20.0 */ + @Deprecated public static V getDone(Future future) throws ExecutionException { /* * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw @@ -142,9 +144,11 @@ public static V getDone(Future future) throws ExecutionException { *

If you are looking for a method to determine whether a given {@code Future} is done, use the instance method * {@link Future#isDone()}. * + * @deprecated Use Guava {@code Futures.getDoneUnchecked()} * @throws UncheckedExecutionException if the {@code Future} failed with an exception * @throws IllegalStateException if the {@code Future} is not done */ + @Deprecated public static V getDoneUnchecked(Future future) { /* * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw diff --git a/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/Statuses.java b/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/Statuses.java index fc40f92b..45c4df2c 100644 --- a/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/Statuses.java +++ b/grpc-contrib/src/main/java/com/salesforce/grpc/contrib/Statuses.java @@ -25,7 +25,7 @@ * *

For example: *

- *     import static com.salesforce.grpc.contrib.Statuses;
+ *     import static com.salesforce.grpc.contrib.Statuses.*;
  *
  *     try {
  *         stub.someServiceOperation(...);
diff --git a/pom.xml b/pom.xml
index 412e47e8..7b6edd2b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,8 +62,7 @@
         https://oss.sonatype.org/content/repositories
 
         
-        
-        1.10.0
+        1.12.0
         3.5.1 
         1.7.21
         2.7