CloneSet4199


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16195
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FindBrokenNLSKeysAction.java
27223
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java
Clone Instance
1
Line Count
6
Source Line
195
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FindBrokenNLSKeysAction.java

                                                        case IJavaElement.PACKAGE_FRAGMENT:
                                                        case IJavaElement.PACKAGE_FRAGMENT_ROOT:
                                                                IPackageFragmentRoot root = (IPackageFragmentRoot) elem.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
                                                                return (root.getKind() == IPackageFragmentRoot.K_SOURCE);
                                                        case IJavaElement.JAVA_PROJECT:
                                                                return true;


Clone Instance
2
Line Count
7
Source Line
223
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/FormatAllAction.java

                                                        case IJavaElement.PACKAGE_FRAGMENT:
                                                        case IJavaElement.PACKAGE_FRAGMENT_ROOT:
                                                                IPackageFragmentRoot root = (IPackageFragmentRoot) elem.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
                                                                return (root.getKind() == IPackageFragmentRoot.K_SOURCE);
                                                        case IJavaElement.JAVA_PROJECT:
                                                                // https://bugs.eclipse.org/bugs/show_bug.cgi?id=65638
                                                                return true;


Clone AbstractionParameter Count: 0Parameter Bindings

case IJavaElement.PACKAGE_FRAGMENT:
case IJavaElement.PACKAGE_FRAGMENT_ROOT:
  IPackageFragmentRoot root = (IPackageFragmentRoot) elem.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);
  return (root.getKind() == IPackageFragmentRoot.K_SOURCE);
case IJavaElement.JAVA_PROJECT:
  // https://bugs.eclipse.org/bugs/show_bug.cgi?id=65638
  return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None