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.956 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 211 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/MessagePanel.java |
2 | 7 | 235 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/MessagePanel.java |
| |||||
/** * Show a message. * * @param msg The message to be shown. */ public synchronized void showMessage( final String msg) { if (msg == null) { throw new IllegalArgumentException("msg cannot be null"); } privateShowMessage(msg, _saSetMessage); } |
| |||||
/** * Show an error message. The controls * background color will be changed to show it is an error msg. * @param th Exception. */ public synchronized void showErrorMessage( final String msg) { if (msg == null) { throw new IllegalArgumentException("msg cannot be null"); } privateShowMessage(msg, _saSetError); } |
| |||
/** * Show an error message. The controls * background color will be changed to show it is an error msg. * @param th Exception. */ /** * Show a message. * * @param msg The message to be shown. */ public synchronized void [[#variable1c9881c0]]( final String msg) { if (msg == null) { throw new IllegalArgumentException("msg cannot be null"); } privateShowMessage(msg, [[#variable1c988020]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c9881c0]] | showMessage |
1 | 2 | [[#1c9881c0]] | showErrorMessage |
2 | 1 | [[#1c988020]] | _saSetMessage |
2 | 2 | [[#1c988020]] | _saSetError |