CloneSet1401


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12230.992statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112184
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java
212143
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesPropertyPage.java
Clone Instance
1
Line Count
12
Source Line
184
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocConfigurationPropertyPage.java

                        IJavaElement elem = getJavaElement();
                        try {
                                IRunnableWithProgress runnable = getRunnable(getShell(), elem, javadocLocation, fEntry, fContainerPath);
                                PlatformUI.getWorkbench().getProgressService().run(true, true, runnable);
                        } catch (InvocationTargetException e) {
                                String title = PreferencesMessages.SourceAttachmentPropertyPage_error_title;
                                String message = PreferencesMessages.SourceAttachmentPropertyPage_error_message;
                                ExceptionHandler.handle(e, getShell(), title, message);
                                return false;
                          }
                          catch (InterruptedException e) {
                                // cancelled
                                return false;
                          }


Clone Instance
2
Line Count
12
Source Line
143
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/NativeLibrariesPropertyPage.java

                        IJavaElement elem = getJavaElement();
                        try {
                                IRunnableWithProgress runnable = getRunnable(getShell(), elem, nativeLibraryPath, fEntry, fContainerPath);
                                PlatformUI.getWorkbench().getProgressService().run(true, true, runnable);
                        } catch (InvocationTargetException e) {
                                String title = PreferencesMessages.NativeLibrariesPropertyPage_errorAttaching_title;
                                String message = PreferencesMessages.NativeLibrariesPropertyPage_errorAttaching_message;
                                ExceptionHandler.handle(e, getShell(), title, message);
                                return false;
                          }
                          catch (InterruptedException e) {
                                // Canceled
                                return false;
                          }


Clone AbstractionParameter Count: 3Parameter Bindings

IJavaElement elem = getJavaElement();
try {
  IRunnableWithProgress runnable = getRunnable(getShell(), elem,  [[#variablea4adcae0]], fEntry, fContainerPath);
  PlatformUI.getWorkbench().getProgressService().run(true, true, runnable);
}
catch (InvocationTargetException e) {
  String title = PreferencesMessages. [[#variablebb8032c0]];
  String message = PreferencesMessages. [[#variable9687eda0]];
  ExceptionHandler.handle(e, getShell(), title, message);
  return false;
}
catch (InterruptedException e) {
  // cancelled
  // Canceled
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4adcae0]]
javadocLocation 
12[[#a4adcae0]]
nativeLibraryPath 
21[[#bb8032c0]]
SourceAttachmentPropertyPage_error_title 
22[[#bb8032c0]]
NativeLibrariesPropertyPage_errorAttaching_title 
31[[#9687eda0]]
SourceAttachmentPropertyPage_error_message 
32[[#9687eda0]]
NativeLibrariesPropertyPage_errorAttaching_message