final ActionCollection coll = getApplication().getActionCollection(); PasteTableAction pasteAction = (PasteTableAction) coll.get(PasteTableAction.class); pasteAction.setEnabled(enabled);
final ActionCollection coll = getApplication().getActionCollection(); CopyTableAction copyAction = (CopyTableAction) coll.get(CopyTableAction.class); copyAction.setEnabled(enabled);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/DBCopyPlugin.java File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/DBCopyPlugin.java
Method name: void run() Method name: void setCopyMenuEnabled(boolean)
Number of AST nodes: 3 Number of AST nodes: 3
1
final ActionCollection coll = getApplication().getActionCollection();
1
final ActionCollection coll = getApplication().getActionCollection();
2
				PasteTableAction pasteAction = (PasteTableAction) coll.get(PasteTableAction.class);
2
		CopyTableAction copyAction = (CopyTableAction) coll.get(CopyTableAction.class);
3
				pasteAction.setEnabled(enabled);
3
		copyAction.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 the same java file
Number of node comparisons0