Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 147 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSScanner.java |
2 | 18 | 182 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSUtil.java |
| ||||
private static NLSElement findPreviousTagged(int startIndex, NLSElement[] elements) { int i = startIndex - 1; while (i >= 0) { if (elements[i].hasTag()) return elements[i]; i--; } return null; } private static NLSElement findNextTagged(int startIndex, NLSElement[] elements) { int i = startIndex + 1; while (i < elements.length) { if (elements[i].hasTag()) return elements[i]; i++; } return null; } |
| ||||
private static NLSElement findPreviousTagged(int startIndex, NLSElement[] elements) { int i = startIndex - 1; while (i >= 0) { if (elements[i].hasTag()) return elements[i]; i--; } return null; } private static NLSElement findNextTagged(int startIndex, NLSElement[] elements) { int i = startIndex + 1; while (i < elements.length) { if (elements[i].hasTag()) return elements[i]; i++; } return null; } |
| |||
private static NLSElement findPreviousTagged(int startIndex, NLSElement[] elements) { int i = startIndex - 1; while (i >= 0) { if (elements[i].hasTag()) return elements[i]; i--; } return null; } private static NLSElement findNextTagged(int startIndex, NLSElement[] elements) { int i = startIndex + 1; while (i < elements.length) { if (elements[i].hasTag()) return elements[i]; i++; } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |