CloneSet336


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19201.000statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119198
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/command/OpenAttachmentCommand.java
21987
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/command/SaveAttachmentCommand.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
198
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/command/OpenAttachmentCommand.java

switch (encoding) {
  case MimeHeader.QUOTED_PRINTABLE:
    bodyStream = new QuotedPrintableDecoderInputStream(bodyStream);
    break;
  case MimeHeader.BASE64:
    bodyStream = new Base64DecoderInputStream(bodyStream);
    break;
  default:
}
if (LOG.isLoggable(Level.FINE)) {
  LOG.fine("Storing the attachment to :" + tempFile);
}
FileOutputStream fileStream = new FileOutputStream(tempFile);
StreamUtils.streamCopy(bodyStream, fileStream);
fileStream.close();
bodyStream.close();


First
Previous
Clone Instance
2
Line Count
19
Source Line
87
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/message/command/SaveAttachmentCommand.java

switch (encoding) {
  case MimeHeader.QUOTED_PRINTABLE:
    bodyStream = new QuotedPrintableDecoderInputStream(bodyStream);
    break;
  case MimeHeader.BASE64:
    bodyStream = new Base64DecoderInputStream(bodyStream);
    break;
  default:
}
if (LOG.isLoggable(Level.FINE)) {
  LOG.fine("Storing the attachment to :" + tempFile);
}
FileOutputStream fileStream = new FileOutputStream(tempFile);
StreamUtils.streamCopy(bodyStream, fileStream);
fileStream.close();
bodyStream.close();


Clone AbstractionParameter Count: 0Parameter Bindings

switch (encoding) {
  case MimeHeader.QUOTED_PRINTABLE:
    bodyStream = new QuotedPrintableDecoderInputStream(bodyStream);
    break;
  case MimeHeader.BASE64:
    bodyStream = new Base64DecoderInputStream(bodyStream);
    break;
  default:
}
if (LOG.isLoggable(Level.FINE)) {
  LOG.fine("Storing the attachment to :" + tempFile);
}
FileOutputStream fileStream = new FileOutputStream(tempFile);
StreamUtils.streamCopy(bodyStream, fileStream);
fileStream.close();
bodyStream.close();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None