CloneSet3860


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18203
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java
28213
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java
Clone Instance
1
Line Count
8
Source Line
203
Source File
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));
        }


Clone Instance
2
Line Count
8
Source Line
213
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java

        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));
        }


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d49a020]]
startsWithUpperCase 
12[[#9d49a020]]
startsWithLowerCase 
21[[#520a3fa0]]
toUpperCase 
22[[#520a3fa0]]
toLowerCase