CloneSet4257


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113123
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java
213339
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java
Clone Instance
1
Line Count
13
Source Line
123
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchResultPage.java

                /* (non-Javadoc)
                 * @see org.eclipse.jface.viewers.ViewerSorter#getCollator()
                 */
                public final java.text.Collator getCollator() {
                        // kept in for API compatibility
                        if (collator == null) {
                                collator = java.text.Collator.getInstance();
                        }
                        return collator;
                }

                private final Collator getNewCollator() {
                        if (fNewCollator == null) {
                                fNewCollator = Collator.getInstance();
                        }
                        return fNewCollator;
                }


Clone Instance
2
Line Count
13
Source Line
339
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementSorter.java

        /* (non-Javadoc)
         * @see org.eclipse.jface.viewers.ViewerSorter#getCollator()
         */
        public final java.text.Collator getCollator() {
                // kept in for API compatibility
                if (collator == null) {
                        collator = java.text.Collator.getInstance();
                }
                return collator;
        }

        private final Collator getNewCollator() {
                if (fNewCollator == null) {
                        fNewCollator = Collator.getInstance();
                }
                return fNewCollator;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/* (non-Javadoc)
                 * @see org.eclipse.jface.viewers.ViewerSorter#getCollator()
                 */
/* (non-Javadoc)
         * @see org.eclipse.jface.viewers.ViewerSorter#getCollator()
         */
public final java.text.Collator getCollator() {
  // kept in for API compatibility
  if (collator == null) {
    collator = java.text.Collator.getInstance();
  }
  return collator;
}

private final Collator getNewCollator() {
  if (fNewCollator == null) {
    fNewCollator = Collator.getInstance();
  }
  return fNewCollator;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None