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/console/ExpireDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NET/worlds/console/ExpireDialog.java') diff --git a/NET/worlds/console/ExpireDialog.java b/NET/worlds/console/ExpireDialog.java index 7b1f80f..82a3cb1 100644 --- a/NET/worlds/console/ExpireDialog.java +++ b/NET/worlds/console/ExpireDialog.java @@ -16,7 +16,7 @@ class ExpireDialog extends Dialog { private static Font font = new Font(Console.message("ButtonFont"), 0, 12); public ExpireDialog(Date expireDate) { - super(null, GammaFrame.getDefaultTitle(), false); + super((Dialog)null, GammaFrame.getDefaultTitle(), false); this.setLayout(new BorderLayout(15, 15)); this.add("Center", new MultiLineLabel(Console.message("beta-expired") + DateFormat.getDateTimeInstance().format(expireDate), 20, 20)); this.button = new Button(Console.message("OK")); -- cgit v1.2.3