public void dropConnection() throws IOException { protocol.dropConnection(); } public void update(Observable o, Object arg) { protocol = new POP3Protocol(popItem.get("host"), popItem .getInteger("port"))
public void dropConnection() throws IOException { protocol.dropConnection(); } public void update(Observable o, Object arg) { protocol = new SMTPProtocol(smtpItem.get("host"), smtpItem.getInteger("port"))
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pop3/POP3Store.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/smtp/SMTPServer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void dropConnection() throws IOException {
1
public void dropConnection() throws IOException {
2
		protocol.dropConnection();
2
		protocol.dropConnection();
3
	}
3
	}
4
	public void update(Observable o, Object arg) {
4
	public void update(Observable o, Object arg) {
5
		protocol = new POP3Protocol(popItem.get("host"), popItem
5
		protocol = new SMTPProtocol(smtpItem.get("host"), smtpItem
6
				.getInteger("port"))
6
.getInteger("port"))
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