CloneSet1218


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4410.995executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14516
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java
24521
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java
34526
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java
44531
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java
Clone Instance
1
Line Count
4
Source Line
516
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java

                                                                {
                        RemoveBlockOperation op = createRemoveBlockOperation(statement, WhileStatement.BODY_PROPERTY, false);
                        if (op != null) {
                                return new IFix[] {
                                                   new ControlStatementsFix(FixMessages.ControlStatementsFix_removeBrackets_proposalDescription, compilationUnit, new IFixRewriteOperation[] {
                                                                                                                                                                                              op
                                                                                                                                                                                             } )
                                                  };
                        }
                                                                }


Clone Instance
2
Line Count
4
Source Line
521
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java

                                                              {
                        RemoveBlockOperation op = createRemoveBlockOperation(statement, ForStatement.BODY_PROPERTY, false);
                        if (op != null) {
                                return new IFix[] {
                                                   new ControlStatementsFix(FixMessages.ControlStatementsFix_removeBrackets_proposalDescription, compilationUnit, new IFixRewriteOperation[] {
                                                                                                                                                                                              op
                                                                                                                                                                                             } )
                                                  };
                        }
                                                              }


Clone Instance
3
Line Count
4
Source Line
526
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java

                                                                      {
                        RemoveBlockOperation op = createRemoveBlockOperation(statement, EnhancedForStatement.BODY_PROPERTY, false);
                        if (op != null) {
                                return new IFix[] {
                                                   new ControlStatementsFix(FixMessages.ControlStatementsFix_removeBrackets_proposalDescription, compilationUnit, new IFixRewriteOperation[] {
                                                                                                                                                                                              op
                                                                                                                                                                                             } )
                                                  };
                        }
                                                                      }


Clone Instance
4
Line Count
4
Source Line
531
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/ControlStatementsFix.java

                                                             {
                        RemoveBlockOperation op = createRemoveBlockOperation(statement, DoStatement.BODY_PROPERTY, false);
                        if (op != null) {
                                return new IFix[] {
                                                   new ControlStatementsFix(FixMessages.ControlStatementsFix_removeBrackets_proposalDescription, compilationUnit, new IFixRewriteOperation[] {
                                                                                                                                                                                              op
                                                                                                                                                                                             } )
                                                  };
                        }
                                                             }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  RemoveBlockOperation op = createRemoveBlockOperation(statement,  [[#variableb4507780]].BODY_PROPERTY, false);
  if (op != null) {
    return new IFix[] {
                        new ControlStatementsFix(FixMessages.ControlStatementsFix_removeBrackets_proposalDescription, compilationUnit, new IFixRewriteOperation[] {
                                                                                                                                                                    op
                                                                                                                                                                  } )
                      };
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b4507780]]
WhileStatement 
12[[#b4507780]]
ForStatement 
13[[#b4507780]]
EnhancedForStatement 
14[[#b4507780]]
DoStatement