CloneSet2300


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111122
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ProposalInfo.java
211206
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/JavadocHelpContext.java
Clone Instance
1
Line Count
11
Source Line
122
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ProposalInfo.java

        /**
         * Gets the reader content as a String
         */
        private static String getString(Reader reader) {
                StringBuffer buf = new StringBuffer();
                char[] buffer = new char[1024];
                int count;
                try {
                        while ((count = reader.read(buffer)) != -1)
                                buf.append(buffer, 0, count);
                } catch (IOException e) {
                        return null;
                  }
                return buf.toString();
        }


Clone Instance
2
Line Count
11
Source Line
206
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/util/JavadocHelpContext.java

        /**
         * Gets the reader content as a String
         */
        private static String getString(Reader reader) {
                StringBuffer buf = new StringBuffer();
                char[] buffer = new char[1024];
                int count;
                try {
                        while ((count = reader.read(buffer)) != -1)
                                buf.append(buffer, 0, count);
                } catch (IOException e) {
                        return null;
                  }
                return buf.toString();
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Gets the reader content as a String
         */
private static String getString(Reader reader) {
  StringBuffer buf = new StringBuffer();
  char[] buffer = new char[1024];
  int count;
  try {
    while ((count = reader.read(buffer)) != -1)
      buf.append(buffer, 0, count);
  }
  catch (IOException e) {
    return null;
  }
  return buf.toString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None