diff options
| author | Fuwn <[email protected]> | 2026-02-13 01:37:09 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-13 01:38:24 -0800 |
| commit | e98bc1e3da07fa47cfff74b71d4d3faed489d7a2 (patch) | |
| tree | fa2f2c3a8a4c580584d45187e57a30fee7ae60fe /NET/worlds/console/PolledDialog.java | |
| parent | Initial commit (diff) | |
| download | worldsplayer-e98bc1e3da07fa47cfff74b71d4d3faed489d7a2.tar.xz worldsplayer-e98bc1e3da07fa47cfff74b71d4d3faed489d7a2.zip | |
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)
Diffstat (limited to 'NET/worlds/console/PolledDialog.java')
| -rw-r--r-- | NET/worlds/console/PolledDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NET/worlds/console/PolledDialog.java b/NET/worlds/console/PolledDialog.java index 0f26bc0..0586ddd 100644 --- a/NET/worlds/console/PolledDialog.java +++ b/NET/worlds/console/PolledDialog.java @@ -124,7 +124,7 @@ public abstract class PolledDialog extends Dialog implements MainCallback, Dialo if (this.toBeDisposed) { this.setVisible(false); this.parent.requestFocus(); - if (this.getPeer() != null) { + if (this.isDisplayable()) { this.dispose(); } |