CloneSet8091


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.978statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13412
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
23417
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java
Clone Instance
1
Line Count
3
Source Line
412
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java

                // compliance must not be smaller than source or target
                if (JavaModelUtil.isVersionLessThan(compliance, source)) {
                        status.setError(PreferencesMessages.ComplianceConfigurationBlock_src_greater_compliance);
                        return status;
                }


Clone Instance
2
Line Count
3
Source Line
417
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/ComplianceConfigurationBlock.java

                if (JavaModelUtil.isVersionLessThan(compliance, target)) {
                        status.setError(PreferencesMessages.ComplianceConfigurationBlock_classfile_greater_compliance);
                        return status;
                }


Clone AbstractionParameter Count: 2Parameter Bindings

// compliance must not be smaller than source or target
if (JavaModelUtil.isVersionLessThan(compliance,  [[#variable5097b160]])) {
  status.setError(PreferencesMessages. [[#variable5097b0c0]]);
  return status;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5097b160]]
target 
12[[#5097b160]]
source 
21[[#5097b0c0]]
ComplianceConfigurationBlock_classfile_greater_compliance 
22[[#5097b0c0]]
ComplianceConfigurationBlock_src_greater_compliance