Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.969 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 141 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameResourceProcessor.java |
2 | 4 | 124 | 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.RenameResourceRefactoring_invalidName); RefactoringStatus result = RefactoringStatus.create(c.getWorkspace().validateName(newName, fResource.getType())); |
| ||||
if ( ! c.getFullPath().isValidSegment(newName)) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.RenameSourceFolderRefactoring_invalid_name); RefactoringStatus result = RefactoringStatus.create(c.getWorkspace().validateName(newName, IResource.FOLDER)); |
| |||
if ( !c.getFullPath().isValidSegment(newName)) return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages. [[#variable5937c700]]); RefactoringStatus result = RefactoringStatus.create(c.getWorkspace().validateName(newName, [[#variable5937c740]] [[#variable5933b440]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5937c700]] | RenameSourceFolderRefactoring_invalid_name |
1 | 2 | [[#5937c700]] | RenameResourceRefactoring_invalidName |
2 | 1 | [[#5937c740]] | IResource |
2 | 2 | [[#5937c740]] | fResource |
3 | 1 | [[#5933b440]] | .FOLDER |
3 | 2 | [[#5933b440]] | .getType() |