From cf927493371e939e1a2254e729d17420a5497ecf Mon Sep 17 00:00:00 2001 From: Konloch Date: Sat, 5 Oct 2024 00:11:44 -0600 Subject: [PATCH] Syntax Cleanup --- .../bytecodeviewer/gui/resourceviewer/BytecodeViewPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/BytecodeViewPanel.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/BytecodeViewPanel.java index 93928f9c..440613f4 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/BytecodeViewPanel.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourceviewer/BytecodeViewPanel.java @@ -51,6 +51,7 @@ public class BytecodeViewPanel extends JPanel public BytecodeViewPanel(int panelIndex, ClassViewer viewer) { super(new BorderLayout()); + this.panelIndex = panelIndex; this.viewer = viewer; } @@ -63,7 +64,7 @@ public class BytecodeViewPanel extends JPanel if (viewer.resource == null) add(new JLabel("ERROR: Resource Viewer Missing Resource")); - //TODO remove when bcel support is added + //TODO remove when bcel support is added else if (viewer.resource.getResourceClassNode() == null) add(new JLabel("ERROR: Resource Viewer Missing ClassNode")); }