diff options
author | Eric Anderson <ejona@google.com> | 2018-01-08 15:08:56 -0800 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2018-01-09 12:40:55 -0800 |
commit | 4bc0c95d0b835c343adfe357d66aa0fc2ec5a9a0 (patch) | |
tree | ad64816c4a73dc01fdc998b204c1f716b8036325 /netty | |
parent | c96ce4de20fd2a4ddfa9076fa0ee2ba5239e125d (diff) | |
download | grpc-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.java | 4 |
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); } } } |