removed boon grave from human class path

This commit is contained in:
Willem Cazander 2022-10-18 12:17:28 +02:00
parent 37ab7ae4be
commit 4f122133ce

View file

@ -18,7 +18,7 @@ import love.distributedrebirth.bassboonyd.spider.BãßBȍőnSpider;
public interface Bãß { public interface Bãß {
public static final class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª { public static final class Ꝑŕḯṿª implements BãßBȍőnꝐŕḯṿª {
private static final Map<Object, BȍőnGrave> GRAVE_YARD = new WeakHashMap<>(); private static final Map<Object, βȍőnGrave> GRAVE_YARD = new WeakHashMap<>();
private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock(); private static final ReadWriteLock FUNERAL = new ReentrantReadWriteLock();
private Ꝑŕḯṿª() { private Ꝑŕḯṿª() {
@ -47,8 +47,8 @@ public interface Bãß {
} }
} }
private static final BȍőnGrave 墳ᴼᶠ(BãßBȍőnʸᴰ<?,?> boon) { // grave-of private static final βȍőnGrave 墳ᴼᶠ(BãßBȍőnʸᴰ<?,?> boon) { // grave-of
BȍőnGrave boonGrave = null; βȍőnGrave boonGrave = null;
Lock bibleReader = FUNERAL.readLock(); // Can't force enum only, thus no jvm safety Lock bibleReader = FUNERAL.readLock(); // Can't force enum only, thus no jvm safety
bibleReader.lock(); bibleReader.lock();
try { try {
@ -60,7 +60,7 @@ public interface Bãß {
Lock shemiraWriter = FUNERAL.writeLock(); Lock shemiraWriter = FUNERAL.writeLock();
shemiraWriter.lock(); shemiraWriter.lock();
try { try {
boonGrave = new BȍőnGrave(); boonGrave = new βȍőnGrave();
GRAVE_YARD.put(boon, boonGrave); GRAVE_YARD.put(boon, boonGrave);
} finally { } finally {
shemiraWriter.unlock(); shemiraWriter.unlock();
@ -82,11 +82,11 @@ public interface Bãß {
// } // }
} }
public static final class BȍőnGrave { public static final class βȍőnGrave {
private final BãßBȍőnSpider spider; private final BãßBȍőnSpider spider;
private BãßBȍőnCoffin<?> coffin; private BãßBȍőnCoffin<?> coffin;
private BȍőnGrave() { private βȍőnGrave() {
this.spider = new BãßBȍőnSpider(); this.spider = new BãßBȍőnSpider();
this.coffin = BãßBȍőnCoffinOpen.newInstance(); this.coffin = BãßBȍőnCoffinOpen.newInstance();
} }