Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.957 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 640 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java |
2 | 10 | 659 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java |
| |||||
/** * Add component to the main frames status bar. * * @param comp * Component to add. */ public void addToStatusBar(JComponent comp) { final MainFrame mf = getMainFrame(); if (mf != null) { mf.addToStatusBar(comp); } else { throw new IllegalStateException(s_stringMgr.getString("Application.error.compadding")); } } |
| |||||
/** * Remove component to the main frames status bar. * * @param comp * Component to remove. */ public void removeFromStatusBar(JComponent comp) { final MainFrame mf = getMainFrame(); if (mf != null) { mf.removeFromStatusBar(comp); } else { throw new IllegalStateException(s_stringMgr.getString("Application.error.compremoving")); } } |
| |||
/** * Remove component to the main frames status bar. * * @param comp * Component to remove. */ /** * Add component to the main frames status bar. * * @param comp * Component to add. */ public void [[#variable1cdfc660]](JComponent comp) { final MainFrame mf = getMainFrame(); if (mf != null) { mf. [[#variable1cdfc660]](comp); } else { throw new IllegalStateException(s_stringMgr.getString( [[#variable1cdfc280]])); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cdfc660]] | addToStatusBar |
1 | 2 | [[#1cdfc660]] | removeFromStatusBar |
2 | 1 | [[#1cdfc280]] | "Application.error.compadding" |
2 | 2 | [[#1cdfc280]] | "Application.error.compremoving" |