prefs.setUseNetbeansTextControl(oldUseNetbeansTextControl);
prefs.setUseOsterTextControl(oldUseOsterTextControl);
prefs.setUsePlainTextControl(oldUsePlainTextControl);
_plugin.setDiffSourceSession(_session);
_plugin.setSelectedDatabaseObjects(dbObjs);
_plugin.setCompareMenuEnabled(true);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/SyntaxPreferencesPanel.java
|
|
File path: /sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/commands/SelectCommand.java
|
Method name: void applyChanges(SyntaxPreferences)
|
|
Method name: void execute()
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | prefs.setUseNetbeansTextControl(oldUseNetbeansTextControl);↵ | | |
|
2 | prefs.setUseOsterTextControl(oldUseOsterTextControl↵ | | 1 | _plugin.setDiffSourceSession(_session);↵
|
3 | );↵ | | 2 | _plugin.setSelectedDatabaseObjects(dbObjs);↵
|
4 | prefs.setUsePlainTextControl(oldUsePlainTextControl); | | 3 | _plugin.setCompareMenuEnabled(true);
|
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 | 0 |