gridbag.setConstraints(column.getContentPane(), c); list.add(column); panel.add(column.getContentPane()); JButton addButton = new JButton(ImageLoader .getIcon(IconKeys.LIST_ADD)); addButton.setActionCommand("ADD"); addButton.setMargin(new Insets(0, 0, 0, 0)); addButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { add(); } }); JButton removeButton = new JButton(ImageLoader .getIcon(IconKeys.LIST_REMOVE));
gridbag.setConstraints(row.getContentPane(), c); list.add(row); panel.add(row.getContentPane()); JButton addButton = new JButton(ImageLoader .getIcon(IconKeys.LIST_ADD)); addButton.setActionCommand("ADD"); addButton.setMargin(new Insets(0, 0, 0, 0)); addButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { add(); } }); JButton removeButton = new JButton(ImageLoader .getIcon(IconKeys.LIST_REMOVE));
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/CriteriaList.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/config/filter/ActionList.java
Method name: void update() Method name: void update()
Number of AST nodes: 8 Number of AST nodes: 8
1
gridbag.setConstraints(column.getContentPane(), c);
1
gridbag.setConstraints(row.getContentPane(), c);
2
			list.add(column);
2
				list.add(row);
3
			panel.add(column.getContentPane());
3
				panel.add(row.getContentPane());
4
			JButton addButton = new JButton(ImageLoader
4
				JButton addButton = new JButton(ImageLoader
5
					.getIcon(IconKeys.LIST_ADD));
5
						.getIcon(IconKeys.LIST_ADD));
6
			addButton.setActionCommand("ADD");
6
				addButton.setActionCommand("ADD");
7
			addButton.setMargin(new Insets(0, 0, 0, 0));
7
				addButton.setMargin(new Insets(0, 0, 0, 0));
8
			addButton.addActionListener(new ActionListener() {
8
				addButton.addActionListener(new ActionListener() {
9
				public void actionPerformed(ActionEvent e) {
9
					public void actionPerformed(ActionEvent e) {
10
					add();
10
						add();
11
				}
11
					}
12
			});
12
				});
13
			JButton removeButton = new JButton(ImageLoader
13
				JButton removeButton = new JButton(ImageLoader
14
					.getIcon(IconKeys.LIST_REMOVE));
14
						.getIcon(IconKeys.LIST_REMOVE));
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 having the same super class
Number of node comparisons0