CloneSet4647


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12847
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddProjectAction.java
22552
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/sourcelookup/JavaProjectSourceContainerBrowser.java
Clone Instance
1
Line Count
28
Source Line
47
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddProjectAction.java

        class ContentProvider implements IStructuredContentProvider {

                private List fProjects;

                public ContentProvider(List projects) {
                        fProjects = projects;
                }

                /**
                 * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                 */
                public Object[] getElements(Object inputElement) {
                        return fProjects.toArray();
                }

                /**
                 * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                 */
                public void dispose() {
                }

                /**
                 * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                 */
                public void inputChanged(
                        Viewer viewer,
                        Object oldInput,
                        Object newInput ) {
                }
        }


Clone Instance
2
Line Count
25
Source Line
52
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/sourcelookup/JavaProjectSourceContainerBrowser.java

        class ContentProvider implements IStructuredContentProvider {

                private List fProjects;

                public ContentProvider(List projects) {
                        fProjects = projects;
                }

                /**
                 * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                 */
                public Object[] getElements(Object inputElement) {
                        return fProjects.toArray();
                }

                /**
                 * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                 */
                public void dispose() {
                }

                /**
                 * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                 */
                public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
                }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

class ContentProvider implements IStructuredContentProvider {
  private List fProjects;

  public ContentProvider(List projects) {
    fProjects = projects;
  }

  /**
                   * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                   */
  public Object[] getElements(Object inputElement) {
    return fProjects.toArray();
  }

  /**
                   * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                   */
  public void dispose() {
  }

  /**
                   * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                   */
  public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None