CloneSet499


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113653
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java
213796
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
653
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java

{
  // found an email address with links - is it the same?
  int s2 = withLinkMatcher.start();
  int e2 = withLinkMatcher.end();
  if ((s2 < s1) && (e2 > e1)) {
    // same email adress - just append and continue
    buf.append(s.substring(pos, e2));
    pos = e2;
    insertLink = false; // already handled
  }
  else {
    // not the same
    insertLink = true;
  }
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
796
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java

{
  // found an url with links - is it the same?
  int s2 = withLinkMatcher.start();
  int e2 = withLinkMatcher.end();
  if ((s2 < s1) && (e2 > e1)) {
    // same url - just append and continue
    buf.append(s.substring(pos, e2));
    pos = e2;
    insertLink = false; // already handled
  }
  else {
    // not the same
    insertLink = true;
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

{
  // found an email address with links - is it the same?
  // found an url with links - is it the same?
  int s2 = withLinkMatcher.start();
  int e2 = withLinkMatcher.end();
  if ((s2 < s1) && (e2 > e1)) {
    // same email adress - just append and continue
    // same url - just append and continue
    buf.append(s.substring(pos, e2));
    pos = e2;
    insertLink = false; // already handled
  }
  else {
    // not the same
    insertLink = true;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None