CloneSet162


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29210.970statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
129102
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/command/ForwardInlineCommand.java
22995
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/command/RedirectCommand.java
Next
Last
Clone Instance
1
Line Count
29
Source Line
102
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/command/ForwardInlineCommand.java

if (Boolean.valueOf(html.getAttribute("prefer")).booleanValue()) {
  bodyPart = mimePartTree.getFirstTextPart("html");
}
else {
  bodyPart = mimePartTree.getFirstTextPart("plain");
}
if (bodyPart != null) {
  // setup charset and html
  initMimeHeader(bodyPart);
  bodyPartAddress = bodyPart.getAddress();
  String quotedBodyText = createQuotedBody(bodyPart.getHeader(), folder, uids, bodyPartAddress);
  /*
   * *20040210, karlpeder* Remove html comments - they are not
   * displayed properly in the composer
   */
  if (bodyPart.getHeader().getMimeType().getSubtype().equals("html")) {
    quotedBodyText = HtmlParser.removeComments(quotedBodyText);
  }
  model.setBodyText(quotedBodyText);
}
//  add all attachments
MimeTree mt = folder.getMimePartTree(uids[0]);
Iterator it = mt.getAllLeafs().iterator();


First
Previous
Clone Instance
2
Line Count
29
Source Line
95
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/gui/composer/command/RedirectCommand.java

if (Boolean.valueOf(html.getAttribute("prefer")).booleanValue()) {
  bodyPart = mimePartTree.getFirstTextPart("html");
}
else {
  bodyPart = mimePartTree.getFirstTextPart("plain");
}
if (bodyPart != null) {
  // setup charset and html
  initMimeHeader(bodyPart);
  bodyPartAddress = bodyPart.getAddress();
  String quotedBodyText = createQuotedBody(folder, uids, bodyPartAddress);
  /*
   * *20040210, karlpeder* Remove html comments - they are not
   * displayed properly in the composer
   */
  if (bodyPart.getHeader().getMimeType().getSubtype().equals("html")) {
    quotedBodyText = HtmlParser.removeComments(quotedBodyText);
  }
  model.setBodyText(quotedBodyText);
}
// add all attachments
MimeTree mt = folder.getMimePartTree(uids[0]);
Iterator it = mt.getAllLeafs().iterator();


Clone AbstractionParameter Count: 1Parameter Bindings

if (Boolean.valueOf(html.getAttribute("prefer")).booleanValue()) {
  bodyPart = mimePartTree.getFirstTextPart("html");
}
else {
  bodyPart = mimePartTree.getFirstTextPart("plain");
}
if (bodyPart != null) {
  // setup charset and html
  initMimeHeader(bodyPart);
  bodyPartAddress = bodyPart.getAddress();
  String quotedBodyText = createQuotedBody( [[#variablef3fbcc0]], uids, bodyPartAddress);
  /*
                           * *20040210, karlpeder* Remove html comments - they are not
                           * displayed properly in the composer
                           */
  if (bodyPart.getHeader().getMimeType().getSubtype().equals("html")) {
    quotedBodyText = HtmlParser.removeComments(quotedBodyText);
  }
  model.setBodyText(quotedBodyText);
}
//  add all attachments
// add all attachments
MimeTree mt = folder.getMimePartTree(uids[0]);
Iterator it = mt.getAllLeafs().iterator();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#f3fbcc0]]
bodyPart.getHeader(), folder 
12[[#f3fbcc0]]
folder