if (isSelected) { setBackground(list.getSelectionBackground()); setForeground(list.getSelectionForeground()); topPanel.setBackground(list.getSelectionBackground()); topPanel.setForeground(list.getSelectionForeground()); } else { setBackground(list.getBackground()); setForeground(list.getForeground()); topPanel.setBackground(list.getBackground()); topPanel.setForeground(list.getForeground()); }
if (isSelected) { setBackground(list.getSelectionBackground()); setForeground(list.getSelectionForeground()); progressPanel.setBackground(list.getSelectionBackground()); progressPanel.setForeground(list.getSelectionForeground()); } else { setBackground(list.getBackground()); setForeground(list.getForeground()); progressPanel.setBackground(list.getBackground()); progressPanel.setForeground(list.getForeground()); }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/search/GenericResultPanel.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/statusbar/TaskRenderer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (isSelected) {
1
if (isSelected) {
2
				setBackground(list.getSelectionBackground());
2
			setBackground(list.getSelectionBackground());
3
				setForeground(list.getSelectionForeground());
3
			setForeground(list.getSelectionForeground());
4
				topPanel.setBackground(list.getSelectionBackground());
4
			progressPanel.setBackground(list.getSelectionBackground());
5
				topPanel.setForeground(list.getSelectionForeground());
5
			progressPanel.setForeground(list.getSelectionForeground());
6
			} else {
6
		} else {
7
				setBackground(list.getBackground());
7
			setBackground(list.getBackground());
8
				setForeground(list.getForeground());
8
			setForeground(list.getForeground());
9
				topPanel.setBackground(list.getBackground());
9
			progressPanel.setBackground(list.getBackground());
10
				topPanel.setForeground(list.getForeground());
10
			progressPanel.setForeground(list.getForeground());
11
			}
11
		}
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