mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Correct IconLoader.performStrictly
This commit is contained in:
@@ -78,7 +78,7 @@ public final class IconLoader {
|
||||
|
||||
private IconLoader() { }
|
||||
|
||||
public static <T> T performStrictly(ThrowableComputable<T, ? extends RuntimeException> computable) {
|
||||
public static <T, E extends Throwable> T performStrictly(ThrowableComputable<T, E> computable) throws E {
|
||||
STRICT_LOCAL.set(true);
|
||||
try {
|
||||
return computable.compute();
|
||||
|
||||
Reference in New Issue
Block a user