CloneSet1176


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.992statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112247
plugins/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java
2122457
plugins/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java
Clone Instance
1
Line Count
12
Source Line
247
Source File
plugins/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java

                // disable all warnings
                        Object[] entries = this.customDefaultOptions.entrySet().toArray();
                        for (int i = 0, max = entries.length; i < max; i++) {
                                Map.Entry entry = (Map.Entry) entries[i];
                                if ( !(entry.getKey() instanceof String))
                                        continue ;
                                if ( !(entry.getValue() instanceof String))
                                        continue ;
                                if (((String) entry.getValue()).equals(CompilerOptions.WARNING)) {
                                        this.customDefaultOptions.put(entry.getKey(), CompilerOptions.IGNORE);
                                }
                        }
                        this.customDefaultOptions.put(CompilerOptions.OPTION_TaskTags, ""); //$NON-NLS-1$


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

        Object[] entries = this.options.entrySet().toArray();
        for (int i = 0, max = entries.length; i < max; i++) {
                Map.Entry entry = (Map.Entry) entries[i];
                if ( !(entry.getKey() instanceof String))
                        continue ;
                if ( !(entry.getValue() instanceof String))
                        continue ;
                if (((String) entry.getValue()).equals(CompilerOptions.WARNING)) {
                        this.options.put(entry.getKey(), CompilerOptions.IGNORE);
                }
        }
        this.options.put(CompilerOptions.OPTION_TaskTags, ""); //$NON-NLS-1$


Clone AbstractionParameter Count: 1Parameter Bindings

// disable all warnings
Object[] entries = this. [[#variable59588540]].entrySet().toArray();
for (int i = 0, max = entries.length; i < max; i++) {
  Map.Entry entry = (Map.Entry) entries[i];
  if ( !(entry.getKey() instanceof String))
    continue ;
  if ( !(entry.getValue() instanceof String))
    continue ;
  if (((String) entry.getValue()).equals(CompilerOptions.WARNING)) {
    this. [[#variable59588540]].put(entry.getKey(), CompilerOptions.IGNORE);
  }
}
this. [[#variable59588540]].put(CompilerOptions.OPTION_TaskTags, ""); //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59588540]]
options 
12[[#59588540]]
customDefaultOptions