CloneSet7173


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.971class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12152
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java
22156
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java
Clone Instance
1
Line Count
2
Source Line
152
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java

        private static void duplicate(Map settings, String existingKey, String newKey) {
                checkAndReplace(settings, existingKey, new String[]  {
                                                                      newKey
                                                                     } );
        }


Clone Instance
2
Line Count
2
Source Line
156
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java

        private static void checkAndReplace(Map settings, String oldKey, String newKey) {
                checkAndReplace(settings, oldKey, new String[]  {
                                                                 newKey
                                                                } );
        }


Clone AbstractionParameter Count: 2Parameter Bindings

private static void [[#variable56a17ec0]](Map settings, String  [[#variable56a17e60]], String newKey) {
  checkAndReplace(settings,  [[#variable56a17e60]], new String[] {
                                                                   newKey
                                                                 } );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56a17ec0]]
duplicate 
12[[#56a17ec0]]
checkAndReplace 
21[[#56a17e60]]
existingKey 
22[[#56a17e60]]
oldKey