_boldChk.setEnabled(enable); _italicChk.setEnabled(enable); _fontColorBtn.setEnabled(enable); _backgroundColorBtn.setEnabled(enable);
_boldChk.removeActionListener(_toggleLis); _italicChk.removeActionListener(_toggleLis); _toggleLis = null;
Clone fragments detected by clone detection tool
File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/prefspanel/StyleMaintenancePanel.java
Method name: void setEnabled(boolean) Method name: void removeNotify()
Number of AST nodes: 4 Number of AST nodes: 3
1
_boldChk.setEnabled(enable);
1
_boldChk.removeActionListener(_toggleLis);
2
		_italicChk.setEnabled(enable);
2
			_italicChk.
3
		_fontColorBtn.setEnabled(enable);
4
		_backgroundColorBtn.setEnabled(enable)
3
removeActionListener(_toggleLis);
5
;
4
			_toggleLis = null;
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 declared in the same class
Number of node comparisons12