From e98bc1e3da07fa47cfff74b71d4d3faed489d7a2 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 13 Feb 2026 01:37:09 -0800 Subject: fix: Decompilation artifact repairs for Java 11 compilation - Duplicate variable declarations in switch-case branches (AvMenu, ServerInputStream, netData, AnimatedAction) - Ambiguous null constructor calls requiring explicit casts (ExpireDialog, PosableShape) - Deprecated getPeer() replaced with isDisplayable() (PolledDialog) - Decompiler $assertionsDisabled artifact removed (BackgroundLoader) - Missing null-safety on unboxing (BooleanFieldEditorDialog) - Raw generic types parameterized (ShallowEnumeration) - Raw Enumeration cast added (Shape) --- NET/worlds/scape/BackgroundLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NET/worlds/scape/BackgroundLoader.java') diff --git a/NET/worlds/scape/BackgroundLoader.java b/NET/worlds/scape/BackgroundLoader.java index 8f337a0..576570a 100644 --- a/NET/worlds/scape/BackgroundLoader.java +++ b/NET/worlds/scape/BackgroundLoader.java @@ -46,7 +46,7 @@ public class BackgroundLoader implements MainCallback, Runnable { @Override public void run() { - if ($assertionsDisabled || Thread.currentThread() == this.asyncLoaderThread) { + if (Thread.currentThread() == this.asyncLoaderThread) { while (true) { BackgroundLoaderElement ele = this.asyncLoadQueue.getItem(); ele.asyncLoad(); -- cgit v1.2.3