} else if (info.isHeading2()) { selectInParagraphComboBox(HTML.Tag.H2); } else if (info.isHeading3()) { selectInParagraphComboBox(HTML.Tag.H3); } else if (info.isPreformattet()) { selectInParagraphComboBox(HTML.Tag.PRE); } else if (info.isAddress()) { selectInParagraphComboBox(HTML.Tag.ADDRESS); } else { // select the "Normal" entry as default selectInParagraphComboBox(HTML.Tag.P);
} else if (info.isHeading2()) { selectMenuItem(HTML.Tag.H2); } else if (info.isHeading3()) { selectMenuItem(HTML.Tag.H3); } else if (info.isPreformattet()) { selectMenuItem(HTML.Tag.PRE); } else if (info.isAddress()) { selectMenuItem(HTML.Tag.ADDRESS); } else { // select the "Normal" entry as default selectMenuItem(HTML.Tag.P);
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/HtmlToolbar.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/html/action/ParagraphMenu.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
} else if (info.isHeading2()) {
1
} else if (info.isHeading2()) {
2
			selectInParagraphComboBox(HTML.Tag.H2);
2
			selectMenuItem(HTML.Tag.H2);
3
		} else if (info.isHeading3()) {
3
		} else if (info.isHeading3()) {
4
			selectInParagraphComboBox(HTML.Tag.H3);
4
			selectMenuItem(HTML.Tag.H3);
5
		} else if (info.isPreformattet()) {
5
		} else if (info.isPreformattet()) {
6
			selectInParagraphComboBox(HTML.Tag.PRE);
6
			selectMenuItem(HTML.Tag.PRE);
7
		} else if (info.isAddress()) {
7
		} else if (info.isAddress()) {
8
			selectInParagraphComboBox(HTML.Tag.ADDRESS);
8
			selectMenuItem(HTML.Tag.ADDRESS);
9
		} else {
9
		} else {
10
			// select the "Normal" entry as default
10
			// select the "Normal" entry as default
11
			selectInParagraphComboBox(HTML.Tag.P);
11
			selectMenuItem(HTML.Tag.P);
12
		
12
		
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