public static class StringCompare implements Compare
{
public int compare(Object obj1, Object obj2)
{
return compareStrings(obj1.toString(),
obj2.toString(),false);
public static class StringICaseCompare implements Compare
{
public int compare(Object obj1, Object obj2)
{
return compareStrings(obj1.toString(),
obj2.toString(),true);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/MiscUtilities.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/MiscUtilities.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public static class StringCompare implements Compare↵ | | 1 | public static class StringICaseCompare implements Compare↵
|
2 | {↵ | | 2 | {↵
|
3 | public int compare(Object obj1, Object obj2)↵ | | 3 | public int compare(Object obj1, Object obj2)↵
|
4 | {↵ | | 4 | {↵
|
5 | return compareStrings(obj1.toString(),↵ | | 5 | return compareStrings(obj1.toString(),↵
|
6 | obj2.toString(),false); | | 6 | obj2.toString(),true);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |