if ( organisationalIdentity != null) { if (organisationalIdentity.hasOrganization()) c.setOrganisation(organisationalIdentity.getOrganization().getName()); c.setTitle(organisationalIdentity.getTitle()); c.setProfession(organisationalIdentity.getRole()); }
if (header.getContentDescription() != null) { tooltip.append(header.getContentDescription()); } else { tooltip.append(mimeType.getType()); tooltip.append("/"); tooltip.append(mimeType.getSubtype()); }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/parser/VCardParser.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/AttachmentView.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if ( organisationalIdentity != null) {
1
if (header.getContentDescription() != null) {
2
			if (organisationalIdentity.hasOrganization())
2
			tooltip.append(header.getContentDescription());
3
				c.setOrganisation(organisationalIdentity.getOrganization()
3
		} else {
4
.getName());
4
			tooltip.append(mimeType.getType());
5
			
5
			
6
			c.setTitle(organisationalIdentity.getTitle());
6
tooltip.append("/");
7
			c.setProfession(organisationalIdentity.getRole());
7
			tooltip.append(mimeType.getSubtype());
8
		}
8
		}
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