CloneSet9950


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.958class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12156
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainerInitializer.java
22160
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainerInitializer.java
Clone Instance
1
Line Count
2
Source Line
156
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainerInitializer.java

        /**
         * Escapes foward slashes in environment id.
         * 
         * @param id
         * @return esaped name
         */
        public static String encodeEnvironmentId(String id) {
                return id.replace('/', '%');
        }


Clone Instance
2
Line Count
2
Source Line
160
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainerInitializer.java

        public static String decodeEnvironmentId(String id) {
                return id.replace('%', '/');
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Escapes foward slashes in environment id.
         * 
         * @param id
         * @return esaped name
         */
public static String  [[#variable95447a20]](String id) {
  return id.replace( [[#variable954479a0]],  [[#variable95447920]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#95447a20]]
encodeEnvironmentId 
12[[#95447a20]]
decodeEnvironmentId 
21[[#954479a0]]
'/' 
22[[#954479a0]]
'%' 
31[[#95447920]]
'%' 
32[[#95447920]]
'/'