From 4bc0c95d0b835c343adfe357d66aa0fc2ec5a9a0 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 8 Jan 2018 15:08:56 -0800 Subject: Update ErrorProne to 2.1.3 and fix failures The fixes could have subtle side-effects, but I did take care when making them. --- netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'netty') 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); } } } -- cgit v1.2.3