CloneSet2131


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16374
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java
27513
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
37227
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementContentProvider.java
Clone Instance
1
Line Count
6
Source Line
374
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingContentProvider.java

        /**
         * Updates the package icon
         */
         private void postUpdateIcon( final IJavaElement element) {
                postRunnable(new Runnable() {
                        public void run() {
                                Control ctrl = fViewer.getControl();
                                if (ctrl != null && !ctrl.isDisposed())
                                        fViewer.update(element, new String[] {
                                                                              IBasicPropertyConstants.P_IMAGE
                                                                             } );
                        }
                             } );
         }


Clone Instance
2
Line Count
7
Source Line
513
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java

        /**
         * Updates the package icon
         */
         private void postUpdateIcon( final IJavaElement element) {
                postRunnable(new Runnable() {
                        public void run() {
                                // 1GF87WR: ITPUI:ALL - SWTEx + NPE closing a workbench window.
                                Control ctrl = fViewer.getControl();
                                if (ctrl != null && !ctrl.isDisposed())
                                        fViewer.update(element, new String[] {
                                                                              IBasicPropertyConstants.P_IMAGE
                                                                             } );
                        }
                             } );
         }


Clone Instance
3
Line Count
7
Source Line
227
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/JavaElementContentProvider.java

        /*
         * Updates the package icon
         */
         private void updatePackageIcon( final IJavaElement element) {
                postRunnable(new Runnable() {
                        public void run() {
                                // 1GF87WR: ITPUI:ALL - SWTEx + NPE closing a workbench window.
                                Control ctrl = fViewer.getControl();
                                if (ctrl != null && !ctrl.isDisposed())
                                        fViewer.update(element, new String[] {
                                                                              IBasicPropertyConstants.P_IMAGE
                                                                             } );
                        }
                             } );
         }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Updates the package icon
         */
/*
         * Updates the package icon
         */
private void [[#variableb37bd760]]( final IJavaElement element) {
  postRunnable(new Runnable() {
                 public void run() {
                   // 1GF87WR: ITPUI:ALL - SWTEx + NPE closing a workbench window.
                   Control ctrl = fViewer.getControl();
                   if (ctrl != null && !ctrl.isDisposed())
                     fViewer.update(element, new String[] {
                                                            IBasicPropertyConstants.P_IMAGE
                                                          } );
                 }
               } );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b37bd760]]
postUpdateIcon 
12[[#b37bd760]]
updatePackageIcon 
13[[#b37bd760]]
postUpdateIcon