final String oldValue = _driverClassName;
_driverClassName = data;
getPropertyChangeReporter().firePropertyChange(
ISQLDriver.IPropertyNames.DRIVER_CLASS,
oldValue,
_driverClassName);
final SyntaxStyle oldValue = _columnStyle;
_columnStyle = data;
getPropertyChangeReporter().firePropertyChange(IPropertyNames.COLUMN_STYLE,
oldValue, _columnStyle);
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/SQLDriver.java
|
|
File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/SyntaxPreferences.java
|
Method name: void setDriverClassName(String)
|
|
Method name: void setColumnStyle(SyntaxStyle)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | final String oldValue = _driverClassName;↵ | | 1 | final SyntaxStyle oldValue = _↵
|
2 | _driverClassNam↵ | | 2 | columnStyle;↵
|
3 | e = data;↵ | | 3 | _columnStyle = data;↵
|
4 | getPropertyChangeReporter().firePropertyChange(↵ | | 4 | getPropertyChangeReporter().firePropertyChange(↵
|
5 | ISQLDriver.IPropertyNames.DRIVER_CLASS,↵ | | 5 | IPropertyNames.COLUMN_STYLE,↵
|
6 | oldValue,↵ | | 6 | oldValue,↵
|
7 | _driverClassName); | | 7 | _columnStyle);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 9 |