Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 1 | 0.993 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 677 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
2 | 11 | 695 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/Checks.java |
| ||||
IStatus status = Resources.checkInSync(filesToModify); if ( !status.isOK()) result.merge(RefactoringStatus.create(status)); status = Resources.makeCommittable(filesToModify, context); if ( !status.isOK()) { result.merge(RefactoringStatus.create(status)); if ( !result.hasFatalError()) { result.addFatalError(RefactoringCoreMessages.Checks_validateEdit); } } return result; |
| ||||
IStatus status = Resources.checkInSync(resource); if ( !status.isOK()) result.merge(RefactoringStatus.create(status)); status = Resources.makeCommittable(resource, context); if ( !status.isOK()) { result.merge(RefactoringStatus.create(status)); if ( !result.hasFatalError()) { result.addFatalError(RefactoringCoreMessages.Checks_validateEdit); } } return result; |
| |||
IStatus status = Resources.checkInSync( [[#variableb3574ae0]]); if ( !status.isOK()) result.merge(RefactoringStatus.create(status)); status = Resources.makeCommittable( [[#variableb3574ae0]], context); if ( !status.isOK()) { result.merge(RefactoringStatus.create(status)); if ( !result.hasFatalError()) { result.addFatalError(RefactoringCoreMessages.Checks_validateEdit); } } return result; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3574ae0]] | filesToModify |
1 | 2 | [[#b3574ae0]] | resource |