WiserAssertions: suppress checkstyle rule IllegalCatch

This commit is contained in:
Paul Campbell 2016-06-02 20:55:35 +01:00
parent cef89074ef
commit af4b48e212

View file

@ -253,6 +253,7 @@ public final class WiserAssertions {
*
* @return the product of the supplier
*/
@SuppressWarnings("illegalCatch")
public static <T> T unchecked(final ThrowingSupplier<T> supplier) {
try {
return supplier.get();