CloneSet2285


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.982statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
133027
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
233032
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
333037
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
Clone Instance
1
Line Count
3
Source Line
3027
Source File
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java

                        // target must be 1.6 if source is 1.6
                        if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants.JDK1_6 &&
                                           CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants.JDK1_6) {
                                throw new InvalidInputException(this.bind("configure.incompatibleTargetForSource", (String) targetVersion, CompilerOptions.VERSION_1_6)); //$NON-NLS-1$
                        }


Clone Instance
2
Line Count
3
Source Line
3032
Source File
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java

                        // target must be 1.5 if source is 1.5
                        if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants.JDK1_5 &&
                                           CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants.JDK1_5) {
                                throw new InvalidInputException(this.bind("configure.incompatibleTargetForSource", (String) targetVersion, CompilerOptions.VERSION_1_5)); //$NON-NLS-1$
                        }


Clone Instance
3
Line Count
3
Source Line
3037
Source File
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java

                         // target must be 1.4 if source is 1.4
                        if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants.JDK1_4 &&
                                           CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants.JDK1_4) {
                                throw new InvalidInputException(this.bind("configure.incompatibleTargetForSource", (String) targetVersion, CompilerOptions.VERSION_1_4)); //$NON-NLS-1$
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

// target must be 1.6 if source is 1.6
// target must be 1.5 if source is 1.5
// target must be 1.4 if source is 1.4
if (CompilerOptions.versionToJdkLevel(sourceVersion) >= ClassFileConstants. [[#variable6120d2c0]]&& CompilerOptions.versionToJdkLevel(targetVersion) < ClassFileConstants. [[#variable6120d2c0]]) {
  throw new InvalidInputException(this.bind("configure.incompatibleTargetForSource", (String) targetVersion, CompilerOptions. [[#variable6120d1e0]])); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6120d2c0]]
JDK1_6 
12[[#6120d2c0]]
JDK1_5 
13[[#6120d2c0]]
JDK1_4 
21[[#6120d1e0]]
VERSION_1_6 
22[[#6120d1e0]]
VERSION_1_5 
23[[#6120d1e0]]
VERSION_1_4