Syntax Cleanup
This commit is contained in:
parent
5cf85f78d4
commit
cf92749337
|
@ -51,6 +51,7 @@ public class BytecodeViewPanel extends JPanel
|
||||||
public BytecodeViewPanel(int panelIndex, ClassViewer viewer)
|
public BytecodeViewPanel(int panelIndex, ClassViewer viewer)
|
||||||
{
|
{
|
||||||
super(new BorderLayout());
|
super(new BorderLayout());
|
||||||
|
|
||||||
this.panelIndex = panelIndex;
|
this.panelIndex = panelIndex;
|
||||||
this.viewer = viewer;
|
this.viewer = viewer;
|
||||||
}
|
}
|
||||||
|
@ -63,7 +64,7 @@ public class BytecodeViewPanel extends JPanel
|
||||||
if (viewer.resource == null)
|
if (viewer.resource == null)
|
||||||
add(new JLabel("ERROR: Resource Viewer Missing Resource"));
|
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)
|
else if (viewer.resource.getResourceClassNode() == null)
|
||||||
add(new JLabel("ERROR: Resource Viewer Missing ClassNode"));
|
add(new JLabel("ERROR: Resource Viewer Missing ClassNode"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user