aboutsummaryrefslogtreecommitdiff
path: root/netty
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2018-01-08 15:08:56 -0800
committerEric Anderson <ejona@google.com>2018-01-09 12:40:55 -0800
commit4bc0c95d0b835c343adfe357d66aa0fc2ec5a9a0 (patch)
treead64816c4a73dc01fdc998b204c1f716b8036325 /netty
parentc96ce4de20fd2a4ddfa9076fa0ee2ba5239e125d (diff)
downloadgrpc-grpc-java-4bc0c95d0b835c343adfe357d66aa0fc2ec5a9a0.tar.gz
Update ErrorProne to 2.1.3 and fix failures
The fixes could have subtle side-effects, but I did take care when making them.
Diffstat (limited to 'netty')
-rw-r--r--netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java b/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java
index 1d9f36bb0..7eef87782 100644
--- a/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java
+++ b/netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java
@@ -50,8 +50,8 @@ public class AbstractHttp2HeadersTest {
} catch (InvocationTargetException ex) {
assertEquals("For method: " + method,
UnsupportedOperationException.class, ex.getCause().getClass());
- } catch (Throwable t) {
- throw new RuntimeException("Failure with method: " + method, t);
+ } catch (Exception ex) {
+ throw new AssertionError("Failure with method: " + method, ex);
}
}
}