File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/SyntaxPreferences.java | File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/SyntaxPreferences.java | |||
Method name: void setColumnStyle(SyntaxStyle)
|
Method name: void setDataTypeStyle(SyntaxStyle)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | final SyntaxStyle oldValue = _columnStyle;↵ | 1 | final SyntaxStyle oldValue = _dataTypeStyle;↵ | |
2 | _columnStyle = data;↵ | 2 | _dataTypeStyle = data;↵ | |
3 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.COLUMN_STYLE,↵ | 3 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.DATA_TYPE_STYLE,↵ | |
4 | oldValue, _columnStyle); | 4 | oldValue, _dataTypeStyle); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 5 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4 | final SyntaxStyle oldValue = _columnStyle; |
| 4 | final SyntaxStyle oldValue = _dataTypeStyle; | |||||||||||||
5 | _columnStyle = data; |
| 5 | _dataTypeStyle = data; | |||||||||||||
6 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.COLUMN_STYLE, oldValue, _columnStyle); |
| 6 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.DATA_TYPE_STYLE, oldValue, _dataTypeStyle); |
Row | Violation |
---|