public void initComponents() { super.initComponents(); matchComboBox = new JComboBox(); matchComboBox.addItem("contains"); matchComboBox.addItem("contains not"); /* * matchComboBox.addItem("is"); matchComboBox.addItem("is not"); * matchComboBox.addItem("begins with"); matchComboBox.addItem("ends * with"); */ addComponent(matchComboBox); textField = new JTextField("header", 10); 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/HeaderCriteriaRow.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("
5
		matchComboBox.addItem("contains not");
6
		/*
7
		 * matchComboBox.addItem("is"); matchComboBox.addItem("is not");
8
		 * matchComboBox.addItem("begins with"); matchComboBox.addItem("ends
9
		 * with");
10
		 */
5
smaller");
6
		matchComboBox.addItem("bigger");
11
		addComponent(matchComboBox);
7
		addComponent(matchComboBox);
12
		textField = new JTextField("header", 10);
8
		textField = new JTextField("size", 12);
13
		addComponent(textField);
9
		addComponent(textField);
14
	
10
	
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