CloneSet4929


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11240.972statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111418
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java
211434
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java
Clone Instance
1
Line Count
11
Source Line
418
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java

                checkAndReplace(oldSettings, 
                        FORMATTER_COMPACT_IF_ALIGNMENT, 
                        DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF);

                checkAndReplace(oldSettings, 
                        FORMATTER_MESSAGE_SEND_ARGUMENTS_ALIGNMENT, 
                        DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION);

                checkAndReplace(oldSettings, 
                        FORMATTER_QUALIFIED_ALLOCATION_EXPRESSION_ARGUMENTS_ALIGNMENT, 
                        DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION);


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

                checkAndReplace(oldSettings, 
                        FORMATTER_COMPACT_IF_ALIGNMENT, 
                        DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF);

                checkAndReplace(oldSettings, 
                        FORMATTER_CONDITIONAL_EXPRESSION_ALIGNMENT, 
                        DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION);

                checkAndReplace(oldSettings, 
                        FORMATTER_ARRAY_INITIALIZER_EXPRESSIONS_ALIGNMENT, 
                        DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER);


Clone AbstractionParameter Count: 4Parameter Bindings

checkAndReplace(oldSettings, FORMATTER_COMPACT_IF_ALIGNMENT, DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_COMPACT_IF);
checkAndReplace(oldSettings,  [[#variable77b05160]], DefaultCodeFormatterConstants. [[#variable77b05100]]);
checkAndReplace(oldSettings,  [[#variable5255dbc0]], DefaultCodeFormatterConstants. [[#variable77b05060]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#77b05160]]
FORMATTER_CONDITIONAL_EXPRESSION_ALIGNMENT 
12[[#77b05160]]
FORMATTER_MESSAGE_SEND_ARGUMENTS_ALIGNMENT 
21[[#77b05100]]
FORMATTER_ALIGNMENT_FOR_CONDITIONAL_EXPRESSION 
22[[#77b05100]]
FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_METHOD_INVOCATION 
31[[#5255dbc0]]
FORMATTER_ARRAY_INITIALIZER_EXPRESSIONS_ALIGNMENT 
32[[#5255dbc0]]
FORMATTER_QUALIFIED_ALLOCATION_EXPRESSION_ARGUMENTS_ALIGNMENT 
41[[#77b05060]]
FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER 
42[[#77b05060]]
FORMATTER_ALIGNMENT_FOR_ARGUMENTS_IN_QUALIFIED_ALLOCATION_EXPRESSION