Code Cleanup
This commit is contained in:
parent
273af4f27e
commit
9d3b1d461d
1 changed files with 4 additions and 2 deletions
|
@ -156,7 +156,8 @@ public final class PluginManager
|
||||||
}
|
}
|
||||||
|
|
||||||
final String name = activePlugin.activeContainer == null
|
final String name = activePlugin.activeContainer == null
|
||||||
? "#" + (activeTabbedException.getTabbedPane().getTabCount() + 1) : activePlugin.activeContainer.name;
|
? "#" + (activeTabbedException.getTabbedPane().getTabCount() + 1)
|
||||||
|
: activePlugin.activeContainer.name;
|
||||||
|
|
||||||
ExceptionUI existingUI = exceptionTabs.get(name);
|
ExceptionUI existingUI = exceptionTabs.get(name);
|
||||||
|
|
||||||
|
@ -201,7 +202,8 @@ public final class PluginManager
|
||||||
console.setConsoleID(id);
|
console.setConsoleID(id);
|
||||||
|
|
||||||
final String name = (activePlugin == null || activePlugin.activeContainer == null)
|
final String name = (activePlugin == null || activePlugin.activeContainer == null)
|
||||||
? ("#" + (activeTabbedConsole.getTabbedPane().getTabCount() + 1)) : activePlugin.activeContainer.name;
|
? ("#" + (activeTabbedConsole.getTabbedPane().getTabCount() + 1))
|
||||||
|
: activePlugin.activeContainer.name;
|
||||||
|
|
||||||
activeTabbedConsole.addConsole(console.getComponent(0), name);
|
activeTabbedConsole.addConsole(console.getComponent(0), name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue