CloneSet1371


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.965statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114554
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
214571
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java
Clone Instance
1
Line Count
14
Source Line
554
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java

                                                        // Skip all characters after string literal until closing '>' (see bug 68726)
                                                        while (readToken() != TerminalTokens.TokenNameGREATER) {
                                                                if (this.scanner.currentPosition >= this.scanner.eofPosition || this.scanner.currentCharacter == '@' ||
                                                                        (this.inlineTagStarted && this.scanner.currentCharacter == '}')) {
                                                                        // Reset position: we want to rescan last token
                                                                        this.index = this.tokenPreviousPosition;
                                                                        this.scanner.currentPosition = this.tokenPreviousPosition;
                                                                        this.currentTokenType = -1;
                                                                        // Signal syntax error
                                                                        if (this.tagValue != TAG_VALUE_VALUE) { // do not report error for @value tag, this will be done after...
                                                                                if (this.reportProblems) this.sourceParser.problemReporter().javadocInvalidSeeUrlReference(start, this.lineEnd);
                                                                        }
                                                                        return false;
                                                                }
                                                                this.currentTokenType = -1; // do not update line end
                                                        }


Clone Instance
2
Line Count
14
Source Line
571
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/AbstractCommentParser.java

                                                                while (readToken() != TerminalTokens.TokenNameLESS) {
                                                                        if (this.scanner.currentPosition >= this.scanner.eofPosition || this.scanner.currentCharacter == '@' ||
                                                                                (this.inlineTagStarted && this.scanner.currentCharacter == '}')) {
                                                                                // Reset position: we want to rescan last token
                                                                                this.index = this.tokenPreviousPosition;
                                                                                this.scanner.currentPosition = this.tokenPreviousPosition;
                                                                                this.currentTokenType = -1;
                                                                                // Signal syntax error
                                                                                if (this.tagValue != TAG_VALUE_VALUE) { // do not report error for @value tag, this will be done after...
                                                                                        if (this.reportProblems) this.sourceParser.problemReporter().javadocInvalidSeeUrlReference(start, this.lineEnd);
                                                                                }
                                                                                return false;
                                                                        }
                                                                        consumeToken();
                                                                }


Clone AbstractionParameter Count: 2Parameter Bindings

// Skip all characters after string literal until closing '>' (see bug 68726)
while (readToken() != TerminalTokens. [[#variablebb4e1c00]]) {
  if (this.scanner.currentPosition >= this.scanner.eofPosition || this.scanner.currentCharacter == '@' || (this.inlineTagStarted && this.scanner.currentCharacter == '}')) {
    // Reset position: we want to rescan last token
    this.index = this.tokenPreviousPosition;
    this.scanner.currentPosition = this.tokenPreviousPosition;
    this.currentTokenType = -1;
    // Signal syntax error
    if (this.tagValue != TAG_VALUE_VALUE) { // do not report error for @value tag, this will be done after...
      if (this.reportProblems)
        this.sourceParser.problemReporter().javadocInvalidSeeUrlReference(start, this.lineEnd);
    }
    return false;
  }
   [[#variablec11bb3a0]]; // do not update line end
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb4e1c00]]
TokenNameLESS 
12[[#bb4e1c00]]
TokenNameGREATER 
21[[#c11bb3a0]]
consumeToken() 
22[[#c11bb3a0]]
this.currentTokenType = -1