CloneSet2588


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19144
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/Util.java
29275
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaAppletLaunchConfigurationDelegate.java
Clone Instance
1
Line Count
9
Source Line
144
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/Util.java

                       {
                        contents = new byte[length];
                        int len = 0;
                        int readSize = 0;
                        while ((readSize != -1) && (len != length)) {
                                // See PR 1FMS89U
                                // We record first the read size. In this case len is the actual read size.
                                len += readSize;
                                readSize = stream.read(contents, len, length - len);
                        }
                       }


Clone Instance
2
Line Count
9
Source Line
275
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaAppletLaunchConfigurationDelegate.java

                       {
                        contents = new byte[length];
                        int len = 0;
                        int readSize = 0;
                        while ((readSize != -1) && (len != length)) {
                                // See PR 1FMS89U
                                // We record first the read size. In this case len is the actual read size.
                                len += readSize;
                                readSize = stream.read(contents, len, length - len);
                        }
                       }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  contents = new byte[length];
  int len = 0;
  int readSize = 0;
  while ((readSize != -1) && (len != length)) {
    // See PR 1FMS89U
    // We record first the read size. In this case len is the actual read size.
    len += readSize;
    readSize = stream.read(contents, len, length - len);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None