Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.973 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 361 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/SQLAlias.java |
2 | 10 | 146 | E:/TSE/Projects-CloneDR/sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/Folder.java |
| |||||
public void setName(String name) throws ValidationException { String data = getString(name); if (data.length() == 0) { throw new ValidationException(IStrings.ERR_BLANK_NAME); } if (_name != data) { final String oldValue = _name; _name = data; getPropertyChangeReporter().firePropertyChange(IPropNames.NAME, oldValue, _name); } } |
| |||||
public void setName(String name) throws ValidationException { String data = getString(name); if (data.length() == 0) { throw new ValidationException(i18n.ERR_BLANK_NAME); } if (_name != data) { final String oldValue = _name; _name = data; getPropertyChangeNotifier().firePropertyChange(IPropertyNames.NAME, oldValue, _name); } } |
| |||
public void setName(String name) throws ValidationException { String data = getString(name); if (data.length() == 0) { throw new ValidationException( [[#variable1cc10b40]].ERR_BLANK_NAME); } if (_name != data) { final String oldValue = _name; _name = data; [[#variable1cc10aa0]]().firePropertyChange( [[#variable1cc10a20]].NAME, oldValue, _name); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc10b40]] | IStrings |
1 | 2 | [[#1cc10b40]] | i18n |
2 | 1 | [[#1cc10aa0]] | getPropertyChangeReporter |
2 | 2 | [[#1cc10aa0]] | getPropertyChangeNotifier |
3 | 1 | [[#1cc10a20]] | IPropNames |
3 | 2 | [[#1cc10a20]] | IPropertyNames |