CloneSet3695


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

        /*
         * @see Reader#close()
         */
        public void close() throws IOException {
                fReader.close();
        }

        /*
         * @see Reader#reset()
         */
        public void reset() throws IOException {
                fReader.reset();
                fWasWhiteSpace = true;
                fCharAfterWhiteSpace = -1;
                fBuffer.setLength(0);
                fIndex = 0;
        }

        protected final void setSkipWhitespace(boolean state) {
                fSkipWhiteSpace = state;
        }

        protected final boolean isSkippingWhitespace() {
                return fSkipWhiteSpace;
        }


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

        /**
         * @see Reader#close()
         */
        public void close() throws IOException {
                fReader.close();
        }

        /**
         * @see Reader#reset()
         */
        public void reset() throws IOException {
                fReader.reset();
                fWasWhiteSpace = true;
                fCharAfterWhiteSpace = -1;
                fBuffer.setLength(0);
                fIndex = 0;
        }

        protected final void setSkipWhitespace(boolean state) {
                fSkipWhiteSpace = state;
        }

        protected final boolean isSkippingWhitespace() {
                return fSkipWhiteSpace;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/*
         * @see Reader#close()
         */
/**
         * @see Reader#close()
         */
public void close() throws IOException {
  fReader.close();
}

/*
         * @see Reader#reset()
         */
/**
         * @see Reader#reset()
         */
public void reset() throws IOException {
  fReader.reset();
  fWasWhiteSpace = true;
  fCharAfterWhiteSpace = -1;
  fBuffer.setLength(0);
  fIndex = 0;
}

protected final void setSkipWhitespace(boolean state) {
  fSkipWhiteSpace = state;
}

protected final boolean isSkippingWhitespace() {
  return fSkipWhiteSpace;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None