Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.989 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 203 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
2 | 8 | 213 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
| ||||
public static boolean startsWithUpperCase(String s) { if (s == null) return false; else if ("".equals(s)) //$NON-NLS-1$ return false; else //workaround for JDK bug (see 26529) return s.charAt(0) == Character.toUpperCase(s.charAt(0)); } |
| ||||
public static boolean startsWithLowerCase(String s) { if (s == null) return false; else if ("".equals(s)) //$NON-NLS-1$ return false; else //workaround for JDK bug (see 26529) return s.charAt(0) == Character.toLowerCase(s.charAt(0)); } |
| |||
public static boolean [[#variable9d49a020]](String s) { if (s == null) return false; else if ("".equals(s)) //$NON-NLS-1$ return false; else //workaround for JDK bug (see 26529) return s.charAt(0) == Character. [[#variable520a3fa0]](s.charAt(0)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9d49a020]] | startsWithUpperCase |
1 | 2 | [[#9d49a020]] | startsWithLowerCase |
2 | 1 | [[#520a3fa0]] | toUpperCase |
2 | 2 | [[#520a3fa0]] | toLowerCase |