public void initComponents() { super.initComponents(); matchComboBox = new JComboBox(); matchComboBox.addItem("contains"); matchComboBox.addItem("contains not"); addComponent(matchComboBox); textField = new JTextField("body text", 12); addComponent(textField);
public void initComponents() { super.initComponents(); matchComboBox = new JComboBox(); matchComboBox.addItem("smaller"); matchComboBox.addItem("bigger"); addComponent(matchComboBox); textField = new JTextField("size", 12); addComponent(textField);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/plugins/BodyCriteriaRow.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/plugins/SizeCriteriaRow.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void initComponents() {
1
public void initComponents() {
2
		super.initComponents();
2
		super.initComponents();
3
		matchComboBox = new JComboBox();
3
		matchComboBox = new JComboBox();
4
		matchComboBox.addItem("contains");
4
		matchComboBox.addItem("smaller");
5
		matchComboBox.addItem("contains not");
5
		matchComboBox.addItem("bigger");
6
		addComponent(matchComboBox);
6
		addComponent(matchComboBox);
7
		textField = new JTextField("body text", 12);
7
		textField = new JTextField("size", 12);
8
		addComponent(textField);
8
		addComponent(textField);
9
	
9
	
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 location
Number of node comparisons0