final ActionCollection coll = getApplication().getActionCollection(); CompareAction compareAction = (CompareAction) coll.get(CompareAction.class); compareAction.setEnabled(enabled);
final ActionCollection coll = getApplication().getActionCollection(); PasteTableAction pasteAction = (PasteTableAction) coll.get(PasteTableAction.class); pasteAction.setEnabled(enabled);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbdiff/src/net/sourceforge/squirrel_sql/plugins/dbdiff/DBDiffPlugin.java File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/DBCopyPlugin.java
Method name: void setCompareMenuEnabled(boolean) Method name: void run()
Number of AST nodes: 3 Number of AST nodes: 3
1
final ActionCollection coll = getApplication().getActionCollection();
1
final ActionCollection coll = getApplication().getActionCollection();
2
		CompareAction compareAction = (CompareAction) coll.get(CompareAction.class);
2
				PasteTableAction pasteAction = (PasteTableAction) coll.get(PasteTableAction.class);
3
		compareAction.setEnabled(enabled);
3
				pasteAction.setEnabled(enabled);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons0