CloneSet2958


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7540.953class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1722
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java
2737
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java
3751
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java
4765
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java
59270
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnitResolver.java
Clone Instance
1
Line Count
7
Source Line
22
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java

/*
 * Accumulate all problems, then exit without proceeding.
 *
 * Typically, the #proceedWithProblems(Problem[]) should
 * show the problems.
 *
 */
public static IErrorHandlingPolicy exitAfterAllProblems() {
        return new IErrorHandlingPolicy() {
                public boolean stopOnFirstError() {
                        return false;
                }

                public boolean proceedOnErrors() {
                        return false;
                }
               };
}


Clone Instance
2
Line Count
7
Source Line
37
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java

/*
 * Exit without proceeding on the first problem wich appears
 * to be an error.
 *
 */
public static IErrorHandlingPolicy exitOnFirstError() {
        return new IErrorHandlingPolicy() {
                public boolean stopOnFirstError() {
                        return true;
                }

                public boolean proceedOnErrors() {
                        return false;
                }
               };
}


Clone Instance
3
Line Count
7
Source Line
51
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java

/*
 * Proceed on the first error met.
 *
 */
public static IErrorHandlingPolicy proceedOnFirstError() {
        return new IErrorHandlingPolicy() {
                public boolean stopOnFirstError() {
                        return true;
                }

                public boolean proceedOnErrors() {
                        return true;
                }
               };
}


Clone Instance
4
Line Count
7
Source Line
65
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/DefaultErrorHandlingPolicies.java

/*
 * Accumulate all problems, then proceed with them.
 *
 */
public static IErrorHandlingPolicy proceedWithAllProblems() {
        return new IErrorHandlingPolicy() {
                public boolean stopOnFirstError() {
                        return false;
                }

                public boolean proceedOnErrors() {
                        return true;
                }
               };
}


Clone Instance
5
Line Count
9
Source Line
270
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/CompilationUnitResolver.java

        /*
         *  Low-level API performing the actual compilation
         */
        protected static IErrorHandlingPolicy getHandlingPolicy() {

                // passes the initial set of files to the batch oracle (to avoid finding more than once the same units when case insensitive match)     
                return new IErrorHandlingPolicy() {
                        public boolean stopOnFirstError() {
                                return false;
                        }

                        public boolean proceedOnErrors() {
                                return false; // stop if there are some errors 
                        }
                       };
        }


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#variablea3fdbaa0]]static IErrorHandlingPolicy  [[#variablea3fdb9e0]]() {
  // passes the initial set of files to the batch oracle (to avoid finding more than once the same units when case insensitive match)     
  return new IErrorHandlingPolicy() {
           public boolean stopOnFirstError() {
             return [[#variablea3fdb920]];
           }

           public boolean proceedOnErrors() {
             return [[#variablea3fdb8a0]]; // stop if there are some errors 
           }
         };
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3fdbaa0]]
/*
 * Accumulate all problems, then proceed with them.
 *
 */
public 
12[[#a3fdbaa0]]
/*
 * Proceed on the first error met.
 *
 */
public 
13[[#a3fdbaa0]]
/*
 * Exit without proceeding on the first problem wich appears
 * to be an error.
 *
 */
public 
14[[#a3fdbaa0]]
/*
 * Accumulate all problems, then exit without proceeding.
 *
 * Typically, the #proceedWithProblems(Problem[]) should
 * show the problems.
 *
 */
public 
15[[#a3fdbaa0]]
/*
 *  Low-level API performing the actual compilation
 */
protected 
21[[#a3fdb9e0]]
proceedWithAllProblems 
22[[#a3fdb9e0]]
proceedOnFirstError 
23[[#a3fdb9e0]]
exitOnFirstError 
24[[#a3fdb9e0]]
exitAfterAllProblems 
25[[#a3fdb9e0]]
getHandlingPolicy 
31[[#a3fdb920]]
false 
32[[#a3fdb920]]
true 
33[[#a3fdb920]]
true 
34[[#a3fdb920]]
false 
35[[#a3fdb920]]
false 
41[[#a3fdb8a0]]
true 
42[[#a3fdb8a0]]
true 
43[[#a3fdb8a0]]
false 
44[[#a3fdb8a0]]
false 
45[[#a3fdb8a0]]
false