CloneSet1469


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113943
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
213960
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java
Clone Instance
1
Line Count
13
Source Line
943
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

                                char[] catchType;
                                if (exceptionTableEntry.getCatchTypeIndex() != 0) {
                                        catchType = exceptionTableEntry.getCatchType();
                                        CharOperation.replace(catchType, '/', '.');
                                }
                                else   {
                                        catchType = ANY_EXCEPTION;
                                }
                                buffer.append(Messages.bind(Messages.classfileformat_exceptiontableentry, 
                                        new String[] {
                                                Integer.toString(exceptionTableEntry.getStartPC()),
                                                Integer.toString(exceptionTableEntry.getEndPC()),
                                                Integer.toString(exceptionTableEntry.getHandlerPC()),
                                                new String(catchType)
                                                     }     ));


Clone Instance
2
Line Count
13
Source Line
960
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Disassembler.java

                        char[] catchType;
                        if (exceptionTableEntry.getCatchTypeIndex() != 0) {
                                catchType = exceptionTableEntry.getCatchType();
                                CharOperation.replace(catchType, '/', '.');
                        }
                        else   {
                                catchType = ANY_EXCEPTION;
                        }
                        buffer.append(Messages.bind(Messages.classfileformat_exceptiontableentry, 
                                new String[] {
                                        Integer.toString(exceptionTableEntry.getStartPC()),
                                        Integer.toString(exceptionTableEntry.getEndPC()),
                                        Integer.toString(exceptionTableEntry.getHandlerPC()),
                                        new String(catchType)
                                             }     ));


Clone AbstractionParameter Count: 0Parameter Bindings

char[] catchType;
if (exceptionTableEntry.getCatchTypeIndex() != 0) {
  catchType = exceptionTableEntry.getCatchType();
  CharOperation.replace(catchType, '/', '.');
}
else {
  catchType = ANY_EXCEPTION;
}
buffer.append(Messages.bind(Messages.classfileformat_exceptiontableentry, new String[] {
                                                                                         Integer.toString(exceptionTableEntry.getStartPC()),
                                                                                         Integer.toString(exceptionTableEntry.getEndPC()),
                                                                                         Integer.toString(exceptionTableEntry.getHandlerPC()),
                                                                                         new String(catchType)
                                                                                       } ));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None