Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.982 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 81 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/action/PrintAction.java |
2 | 10 | 62 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/table/action/SaveMessageBodyAsAction.java |
| |||||
/* * (non-Javadoc) * * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent evt) { IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator()).getTableSelection(); Charset charset = ((CharsetOwnerInterface) getFrameMediator()).getCharset(); PrintMessageCommand c = new PrintMessageCommand(r, charset); CommandProcessor.getInstance().addOp(c); } |
| |||||
/** * Called for activation of the SaveMessageBodyAsAction * * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent evt) { // get selected stuff IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator()).getTableSelection(); // get active charset - necessary to decode msg for saving Charset charset = ((CharsetOwnerInterface) getFrameMediator()).getCharset(); SaveMessageBodyAsCommand c = new SaveMessageBodyAsCommand(r, charset); CommandProcessor.getInstance().addOp(c); } |
| |||
/* * (non-Javadoc) * * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */ /** * Called for activation of the SaveMessageBodyAsAction * * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */ public void actionPerformed(ActionEvent evt) { // get selected stuff IMailFolderCommandReference r = ((MailFrameMediator) getFrameMediator()).getTableSelection(); // get active charset - necessary to decode msg for saving Charset charset = ((CharsetOwnerInterface) getFrameMediator()).getCharset(); [[#variable1328f9e0]] c = new [[#variable1328f9e0]](r, charset); CommandProcessor.getInstance().addOp(c); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1328f9e0]] | PrintMessageCommand |
1 | 2 | [[#1328f9e0]] | SaveMessageBodyAsCommand |