final String oldValue = _jarFileName;
_jarFileName = value;
getPropertyChangeReporter().firePropertyChange(
ISQLDriver.IPropertyNames.JARFILE_NAME,
oldValue,
_jarFileName);
final SyntaxStyle oldValue = _literalStyle;
_literalStyle = data;
getPropertyChangeReporter().firePropertyChange(IPropertyNames.LITERAL_STYLE,
oldValue, _literalStyle);
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 setJarFileName(String)
|
|
Method name: void setLiteralStyle(SyntaxStyle)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | final String oldValue = _jarFileName;↵ | | 1 | final SyntaxStyle oldValue = _↵
|
2 | _jarFileName = value↵ | | 2 | literalStyle;↵
|
3 | ;↵ | | 3 | _literalStyle = data;↵
|
4 | getPropertyChangeReporter().firePropertyChange(↵ | | 4 | getPropertyChangeReporter().firePropertyChange(↵
|
5 | ISQLDriver.IPropertyNames.JARFILE_NAME,↵ | | 5 | IPropertyNames.LITERAL_STYLE,↵
|
6 | oldValue,↵ | | 6 | oldValue,↵
|
7 | _jarFileName); | | 7 | _literalStyle);
|
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 |