Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.961 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 592 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/pop3/POP3Store.java |
2 | 6 | 524 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/smtp/SMTPServer.java |
| |||||
/** * @throws IOException * */ 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")); } |
| |||
/** * @throws IOException * */ public void dropConnection() throws IOException { protocol.dropConnection(); } public void update(Observable o, Object arg) { protocol = new [[#variable13069520]]( [[#variable130694e0]].get("host"), [[#variable130694e0]].getInteger("port")); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13069520]] | POP3Protocol |
1 | 2 | [[#13069520]] | SMTPProtocol |
2 | 1 | [[#130694e0]] | popItem |
2 | 2 | [[#130694e0]] | smtpItem |