WiserAssertions: suppress checkstyle rule IllegalCatch
This commit is contained in:
parent
cef89074ef
commit
af4b48e212
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue