This commit is contained in:
cyberpwn
2021-08-25 08:42:46 -04:00
parent d52d70a014
commit 3f730ead84
35 changed files with 1452 additions and 1506 deletions

View File

@@ -51,16 +51,11 @@ public class AtomicCache<T> {
}
}
public T aquireNasty(NastySupplier<T> t)
{
public T aquireNasty(NastySupplier<T> t) {
return aquire(() -> {
try
{
try {
return t.get();
}
catch(Throwable e)
{
} catch (Throwable e) {
return null;
}
});