_checkOptionBox.setSelected(enable); _checkOptionBox.setEnabled(enable); enableCheckOptionRadios(enable);
if (newNodePath != null) { _tree.makeVisible(newNodePath); _tree.expandPath(newNodePath); _tree.startEditingAtPath(newNodePath); }
Clone fragments detected by clone detection tool
File path: /sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/gui/AddViewDialog.java File path: /sql12/plugins/favs/src/net/sourceforge/squirrel_sql/plugins/favs/NewSavedQueriesFolderCommand.java
Method name: void enableCheckOptions(boolean) Method name: void execute()
Number of AST nodes: 3 Number of AST nodes: 4
1
_checkOptionBox.setSelected(enable
1
if (newNodePath != null) {
2
);
2
				_tree.makeVisible(newNodePath);
3
			_checkOptionBox.setEnabled(enable);
3
			
4
			enableCheckOptionRadios(enable);
4
	_tree.expandPath(newNodePath);
5
				_tree.startEditingAtPath(newNodePath);
6
			}
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 comparisons9