Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.953 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 217 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/mainframe/MainFrame.java |
2 | 7 | 231 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/mainframe/MainFrame.java |
| |||||
/** * Add component to the status bar. * * @param comp Component to add. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>JComponent</TT> passed. */ public void addToStatusBar(JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar.addJComponent(comp); } |
| |||||
/** * Remove component to the main frames status bar. * * @param comp Component to remove. */ public void removeFromStatusBar(JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar.remove(comp); } |
| |||
/** * Remove component to the main frames status bar. * * @param comp Component to remove. */ /** * Add component to the status bar. * * @param comp Component to add. * * @throws IllegalArgumentException * Thrown if <TT>null</TT> <TT>JComponent</TT> passed. */ public void [[#variable1c99e500]](JComponent comp) { if (comp == null) { throw new IllegalArgumentException("JComponent == null"); } _statusBar. [[#variable1c99e420]](comp); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c99e500]] | addToStatusBar |
1 | 2 | [[#1c99e500]] | removeFromStatusBar |
2 | 1 | [[#1c99e420]] | addJComponent |
2 | 2 | [[#1c99e420]] | remove |