CloneSet1204


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11240
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EditStepFiltersAction.java
212534
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIDebugUIPlugin.java
Clone Instance
1
Line Count
12
Source Line
40
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/EditStepFiltersAction.java

        protected void showPreferencePage(String id, IPreferencePage page) {
                final IPreferenceNode targetNode = new PreferenceNode(id, page);

                PreferenceManager manager = new PreferenceManager();
                manager.addToRoot(targetNode);
                final PreferenceDialog dialog = new PreferenceDialog(JDIDebugUIPlugin.getActiveWorkbenchShell(), manager);
                final boolean [] result = new boolean[] {
                                                          false
                                                        };
                BusyIndicator.showWhile(JDIDebugUIPlugin.getStandardDisplay(), new Runnable() {
                        public void run() {
                                dialog.create();
                                dialog.setMessage(targetNode.getLabelText());
                                result[0] = (dialog.open() == Window.OK);
                        }
                                                                               } );
        }


Clone Instance
2
Line Count
12
Source Line
534
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIDebugUIPlugin.java

        /**
         * Displays the given preference page.
         * 
         * @param id pref page id
         * @param page pref page
         */
        public static void showPreferencePage(String id, IPreferencePage page) {
                final IPreferenceNode targetNode = new PreferenceNode(id, page);

                PreferenceManager manager = new PreferenceManager();
                manager.addToRoot(targetNode);
                final PreferenceDialog dialog = new PreferenceDialog(JDIDebugUIPlugin.getActiveWorkbenchShell(), manager);
                final boolean [] result = new boolean[] {
                                                          false
                                                        };
                BusyIndicator.showWhile(JDIDebugUIPlugin.getStandardDisplay(), new Runnable() {
                        public void run() {
                                dialog.create();
                                dialog.setMessage(targetNode.getLabelText());
                                result[0] = (dialog.open() == Window.OK);
                        }
                                                                               } );
        }


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variableb0bc13e0]]void showPreferencePage(String id, IPreferencePage page) {
  final IPreferenceNode targetNode = new PreferenceNode(id, page);
  PreferenceManager manager = new PreferenceManager();
  manager.addToRoot(targetNode);
  final PreferenceDialog dialog = new PreferenceDialog(JDIDebugUIPlugin.getActiveWorkbenchShell(), manager);
  final boolean[] result = new boolean[] {
                                           false
                                         };
  BusyIndicator.showWhile(JDIDebugUIPlugin.getStandardDisplay(), new Runnable() {
                                                                   public void run() {
                                                                     dialog.create();
                                                                     dialog.setMessage(targetNode.getLabelText());
                                                                     result[0] = (dialog.open() == Window.OK);
                                                                   }
                                                                 } );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b0bc13e0]]
/**
 * Displays the given preference page.
 * 
 * @param id pref page id
 * @param page pref page
 */
public static 
12[[#b0bc13e0]]
protected