CloneSet5785


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17132
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/AbstractExceptionAnalyzer.java
27262
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java
Clone Instance
1
Line Count
7
Source Line
132
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/util/AbstractExceptionAnalyzer.java

        private boolean catches(ITypeBinding catchTypeBinding, ITypeBinding throwTypeBinding) {
                while (throwTypeBinding != null) {
                        if (throwTypeBinding == catchTypeBinding)
                                return true;
                        throwTypeBinding = throwTypeBinding.getSuperclass();
                }
                return false;
        }


Clone Instance
2
Line Count
7
Source Line
262
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MethodExitsFinder.java

        private boolean catches(ITypeBinding catchTypeBinding, ITypeBinding throwTypeBinding) {
                while (throwTypeBinding != null) {
                        if (throwTypeBinding == catchTypeBinding)
                                return true;
                        throwTypeBinding = throwTypeBinding.getSuperclass();
                }
                return false;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

private boolean catches(ITypeBinding catchTypeBinding, ITypeBinding throwTypeBinding) {
  while (throwTypeBinding != null) {
    if (throwTypeBinding == catchTypeBinding)
      return true;
    throwTypeBinding = throwTypeBinding.getSuperclass();
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None