Merge pull request #5 from dnet/master
removed unused private method getCodePanel(int)
This commit is contained in:
@@ -95,14 +95,6 @@ class TabbedPane extends JTabbedPane {
|
||||
return panel;
|
||||
}
|
||||
|
||||
private CodePanel getCodePanel(int index) {
|
||||
Component component = getComponent(index);
|
||||
if (component instanceof CodePanel) {
|
||||
return (CodePanel) component;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
CodePanel getSelectedCodePanel() {
|
||||
return (CodePanel) getSelectedComponent();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user