This commit is contained in:
Daniel Mills
2021-08-07 08:16:24 -04:00
parent 6683eee49a
commit 6a68da0559
14 changed files with 138 additions and 237 deletions

View File

@@ -67,19 +67,12 @@ public class HyperLock {
Throwable ee = null;
try {
r.run();
}
catch(Throwable e)
{
} catch (Throwable e) {
ee = e;
}
finally
{
} finally {
unlock(x, z);
if(ee != null)
{
if (ee != null) {
throw ee;
}
}
@@ -90,19 +83,12 @@ public class HyperLock {
IOException ee = null;
try {
r.run();
}
catch(IOException e)
{
} catch (IOException e) {
ee = e;
}
finally
{
} finally {
unlock(x, z);
if(ee != null)
{
if (ee != null) {
throw ee;
}
}