CloneSet2260


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.992block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16108
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java
26105
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java
Clone Instance
1
Line Count
6
Source Line
108
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaCopyProcessor.java

                                                                                                  {
                RefactoringStatus result = new RefactoringStatus();
                result.merge(RefactoringStatus.create(Resources.checkInSync(ReorgUtils.getNotNulls(fCopyPolicy.getResources()))));
                IResource[] javaResources = ReorgUtils.getResources(fCopyPolicy.getJavaElements());
                result.merge(RefactoringStatus.create(Resources.checkInSync(ReorgUtils.getNotNulls(javaResources))));
                return result;
                                                                                                  }


Clone Instance
2
Line Count
6
Source Line
105
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/JavaMoveProcessor.java

                    {
                        RefactoringStatus result = new RefactoringStatus();
                        result.merge(RefactoringStatus.create(Resources.checkInSync(ReorgUtils.getNotNulls(fMovePolicy.getResources()))));
                        IResource[] javaResources = ReorgUtils.getResources(fMovePolicy.getJavaElements());
                        result.merge(RefactoringStatus.create(Resources.checkInSync(ReorgUtils.getNotNulls(javaResources))));
                        return result;
                    }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  RefactoringStatus result = new RefactoringStatus();
  result.merge(RefactoringStatus.create(Resources.checkInSync(ReorgUtils.getNotNulls( [[#variable5534c6c0]].getResources()))));
  IResource[] javaResources = ReorgUtils.getResources( [[#variable5534c6c0]].getJavaElements());
  result.merge(RefactoringStatus.create(Resources.checkInSync(ReorgUtils.getNotNulls(javaResources))));
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5534c6c0]]
fCopyPolicy 
12[[#5534c6c0]]
fMovePolicy