From af4b48e2121960c68e10e0176bdbc1ba9af59cc3 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 2 Jun 2016 20:55:35 +0100 Subject: [PATCH] WiserAssertions: suppress checkstyle rule IllegalCatch --- src/main/java/net/kemitix/wiser/assertions/WiserAssertions.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/kemitix/wiser/assertions/WiserAssertions.java b/src/main/java/net/kemitix/wiser/assertions/WiserAssertions.java index 9ec032e..006a7c3 100644 --- a/src/main/java/net/kemitix/wiser/assertions/WiserAssertions.java +++ b/src/main/java/net/kemitix/wiser/assertions/WiserAssertions.java @@ -253,6 +253,7 @@ public final class WiserAssertions { * * @return the product of the supplier */ + @SuppressWarnings("illegalCatch") public static T unchecked(final ThrowingSupplier supplier) { try { return supplier.get();