CloneSet4240


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.969statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14141
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java
24124
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameSourceFolderProcessor.java
Clone Instance
1
Line Count
4
Source Line
141
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java

                if ( !c.getFullPath().isValidSegment(newName))
                        return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.RenameResourceRefactoring_invalidName);

                RefactoringStatus result = RefactoringStatus.create(c.getWorkspace().validateName(newName, fResource.getType()));


Clone Instance
2
Line Count
4
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameSourceFolderProcessor.java

                if ( ! c.getFullPath().isValidSegment(newName))
                        return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.RenameSourceFolderRefactoring_invalid_name);

                RefactoringStatus result = RefactoringStatus.create(c.getWorkspace().validateName(newName, IResource.FOLDER));


Clone AbstractionParameter Count: 3Parameter Bindings

if ( !c.getFullPath().isValidSegment(newName))
  return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages. [[#variable5937c700]]);
RefactoringStatus result = RefactoringStatus.create(c.getWorkspace().validateName(newName,  [[#variable5937c740]] [[#variable5933b440]]));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5937c700]]
RenameSourceFolderRefactoring_invalid_name 
12[[#5937c700]]
RenameResourceRefactoring_invalidName 
21[[#5937c740]]
IResource 
22[[#5937c740]]
fResource 
31[[#5933b440]]
.FOLDER 
32[[#5933b440]]
.getType()