File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/SquirrelPreferences.java | File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/SquirrelPreferences.java | |||
Method name: void setShowSessionStartupTimeHint(boolean)
|
Method name: void setShowPluginFilesInSplashScreen(boolean)
|
|||
Number of AST nodes: 4 | Number of AST nodes: 4 | |||
1 | if (data != _showSessionStartupTimeHint)↵ | 1 | if (data != _show↵ | |
2 | PluginFilesInSplashScreen)↵ | |||
2 | {↵ | 3 | {↵ | |
3 | final boolean oldValue = _showSessionStartupTimeHint;↵ | 4 | final boolean oldValue = _show↵ | |
4 | _showSessionStartupTimeHint↵ | 5 | PluginFilesInSplashScreen;↵ | |
5 | = data;↵ | 6 | _showPluginFilesInSplashScreen = data;↵ | |
6 | getPropertyChangeReporter().firePropertyChange(↵ | 7 | getPropertyChangeReporter().firePropertyChange(↵ | |
7 | IPropertyNames.SHOW_SESSION_STARTUP_TIME_HINT,↵ | 8 | IPropertyNames.SHOW_↵ | |
8 | oldValue, _showSessionStartupTimeHint↵ | 9 | PLUGIN_FILES_IN_SPLASH_SCREEN,↵ | |
10 | oldValue, ↵ | |||
9 | );↵ | 11 | _showPluginFilesInSplashScreen);↵ | |
10 | } | 12 | } | |
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.1 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 16 |
Number of mapped statements | 4 |
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) | 1.6 |
Clone type | Type 2 |
ID | Statement | ID | Statement | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | if (data != _showSessionStartupTimeHint) |
| 1 | if (data != _showPluginFilesInSplashScreen) | |||||||||||||
2 | final boolean oldValue = _showSessionStartupTimeHint; |
| 2 | final boolean oldValue = _showPluginFilesInSplashScreen; | |||||||||||||
3 | _showSessionStartupTimeHint = data; |
| 3 | _showPluginFilesInSplashScreen = data; | |||||||||||||
4 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.SHOW_SESSION_STARTUP_TIME_HINT, oldValue, _showSessionStartupTimeHint); |
| 4 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.SHOW_PLUGIN_FILES_IN_SPLASH_SCREEN, oldValue, _showPluginFilesInSplashScreen); |
Row | Violation |
---|