CloneSet5832


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17117
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
27126
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java
Clone Instance
1
Line Count
7
Source Line
117
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java

        private static String decode(String str) {
                try {
                        return URLDecoder.decode(str, fgDefaultEncoding);
                } catch (UnsupportedEncodingException e) {
                        JavaPlugin.log(e);
                  }
                return ""; //$NON-NLS-1$
        }


Clone Instance
2
Line Count
7
Source Line
126
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NewJavaProjectPreferencePage.java

        private static String encode(String str) {
                try {
                        return URLEncoder.encode(str, fgDefaultEncoding);
                } catch (UnsupportedEncodingException e) {
                        JavaPlugin.log(e);
                  }
                return ""; //$NON-NLS-1$
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private static String  [[#variable900e1500]](String str) {
  try {
    return [[#variable900e1480]]. [[#variable900e1500]](str, fgDefaultEncoding);
  }
  catch (UnsupportedEncodingException e) {
    JavaPlugin.log(e);
  }
  return ""; //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#900e1500]]
decode 
12[[#900e1500]]
encode 
21[[#900e1480]]
URLDecoder 
22[[#900e1480]]
URLEncoder