CloneSet1320


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19210.997statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11984
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ExcludeFromBuildpathAction.java
21977
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/IncludeToBuildpathAction.java
Clone Instance
1
Line Count
19
Source Line
84
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/ExcludeFromBuildpathAction.java

        try {
                        final IRunnableWithProgress runnable = new IRunnableWithProgress() {
                                 public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
                                         try {
                                         List result = exclude(fSelectedElements, project, monitor);
                                         selectAndReveal(new StructuredSelection(result));
                                         } catch (CoreException e) {
                                                 throw new InvocationTargetException(e);
                                           }
                                 }
                                                               };
                        PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
        }         catch ( final InvocationTargetException e) {
                        if (e.getCause() instanceof CoreException) {
                                showExceptionDialog((CoreException) e.getCause());
                        }
                        else   {
                                JavaPlugin.log(e);
                        }
                  }
                  catch ( final InterruptedException e) {
                  }


Clone Instance
2
Line Count
19
Source Line
77
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/newsourcepage/IncludeToBuildpathAction.java

                try {
                        final IRunnableWithProgress runnable = new IRunnableWithProgress() {
                                 public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
                                         try {
                                                 List result = unExclude(fSelectedElements, project, monitor);
                                                 selectAndReveal(new StructuredSelection(result));
                                         } catch (CoreException e) {
                                                 throw new InvocationTargetException(e);
                                           }
                                 }
                                                               };
                        PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
                } catch ( final InvocationTargetException e) {
                        if (e.getCause() instanceof CoreException) {
                                showExceptionDialog((CoreException) e.getCause());
                        }
                        else   {
                                JavaPlugin.log(e);
                        }
                  }
                  catch ( final InterruptedException e) {
                  }


Clone AbstractionParameter Count: 1Parameter Bindings

try {
  final IRunnableWithProgress runnable = new IRunnableWithProgress() {
                                           public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
                                             try {
                                               List result = [[#variableb36baf80]](fSelectedElements, project, monitor);
                                               selectAndReveal(new StructuredSelection(result));
                                             }
                                             catch (CoreException e) {
                                               throw new InvocationTargetException(e);
                                             }
                                           }
                                         };
  PlatformUI.getWorkbench().getProgressService().run(true, false, runnable);
}
catch ( final InvocationTargetException e) {
  if (e.getCause() instanceof CoreException) {
    showExceptionDialog((CoreException) e.getCause());
  }
  else {
    JavaPlugin.log(e);
  }
}
catch ( final InterruptedException e) {
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b36baf80]]
exclude 
12[[#b36baf80]]
unExclude