CloneSet2817


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.995class_body_declarations[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12127
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/comment/SubstitutionTextReader.java
22130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/SubstitutionTextReader.java
Clone Instance
1
Line Count
21
Source Line
27
Source File
plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/internal/formatter/comment/SubstitutionTextReader.java

        private Reader fReader;

        private boolean fWasWhiteSpace;

        private int fCharAfterWhiteSpace;

        /**
         * Tells whether white space characters are skipped.
         */
        private boolean fSkipWhiteSpace = true;

        private boolean fReadFromBuffer;

        private StringBuffer fBuffer;

        private int fIndex;

        protected SubstitutionTextReader(Reader reader) {
                fReader = reader;
                fBuffer = new StringBuffer();
                fIndex = 0;
                fReadFromBuffer = false;
                fCharAfterWhiteSpace = -1;
                fWasWhiteSpace = true;
        }


Clone Instance
2
Line Count
21
Source Line
30
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/SubstitutionTextReader.java

        private Reader fReader;

        protected boolean fWasWhiteSpace;

        private int fCharAfterWhiteSpace;

        /**
         * Tells whether white space characters are skipped.
         */
        private boolean fSkipWhiteSpace = true;

        private boolean fReadFromBuffer;

        private StringBuffer fBuffer;

        private int fIndex;

        protected SubstitutionTextReader(Reader reader) {
                fReader = reader;
                fBuffer = new StringBuffer();
                fIndex = 0;
                fReadFromBuffer = false;
                fCharAfterWhiteSpace = -1;
                fWasWhiteSpace = true;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

private Reader fReader;

 [[#variable9c6defe0]]boolean fWasWhiteSpace;

private int fCharAfterWhiteSpace;

/**
         * Tells whether white space characters are skipped.
         */
private boolean fSkipWhiteSpace = true;

private boolean fReadFromBuffer;

private StringBuffer fBuffer;

private int fIndex;

protected SubstitutionTextReader(Reader reader) {
  fReader = reader;
  fBuffer = new StringBuffer();
  fIndex = 0;
  fReadFromBuffer = false;
  fCharAfterWhiteSpace = -1;
  fWasWhiteSpace = true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c6defe0]]
private 
12[[#9c6defe0]]
protected