File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionProperties.java | File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionProperties.java | |||
Method name: void setLimitSQLEntryHistorySize(boolean)
|
Method name: void setLimitSQLResultTabs(boolean)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | final boolean oldValue = _limitSqlEntryHistorySize;↵ | 1 | final boolean oldValue = _limitSqlResultTabs;↵ | |
2 | _limitSqlEntryHistorySize = data;↵ | 2 | _limitSqlResultTabs = data;↵ | |
3 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.LIMIT_SQL_ENTRY_HISTORY_SIZE,↵ | 3 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.LIMIT_SQL_RESULT_TABS,↵ | |
4 | oldValue, _limitSqlEntryHistorySize); | 4 | oldValue, _limitSqlResultTabs); | |
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 | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | final boolean oldValue = _limitSqlEntryHistorySize; |
| 1 | final boolean oldValue = _limitSqlResultTabs; | |||||||||||||
2 | _limitSqlEntryHistorySize = data; |
| 2 | _limitSqlResultTabs = data; | |||||||||||||
3 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.LIMIT_SQL_ENTRY_HISTORY_SIZE, oldValue, _limitSqlEntryHistorySize); |
| 3 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.LIMIT_SQL_RESULT_TABS, oldValue, _limitSqlResultTabs); |
Row | Violation |
---|