Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 653 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/parser/text/HtmlParser.java |
2 | 13 | 796 | 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; } } |
| |||||
{ // 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; } } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |