CloneSet1746


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.977class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112419
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
212436
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java
Clone Instance
1
Line Count
12
Source Line
419
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java

        /*
         * Returns a char based representation of the exclusions patterns full path.
         */
        public char[][] fullExclusionPatternChars() {

                if (this.fullExclusionPatternChars == UNINIT_PATTERNS) {
                        int length = this.exclusionPatterns.length;
                        this.fullExclusionPatternChars = new char[length][];
                        IPath prefixPath = this.path.removeTrailingSeparator();
                        for (int i = 0; i < length; i++) {
                                this.fullExclusionPatternChars[i] =
                                        prefixPath.append(this.exclusionPatterns[i]).toString().toCharArray();
                        }
                }
                return this.fullExclusionPatternChars;
        }


Clone Instance
2
Line Count
12
Source Line
436
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java

        /*
         * Returns a char based representation of the exclusions patterns full path.
         */
        public char[][] fullInclusionPatternChars() {

                if (this.fullInclusionPatternChars == UNINIT_PATTERNS) {
                        int length = this.inclusionPatterns.length;
                        this.fullInclusionPatternChars = new char[length][];
                        IPath prefixPath = this.path.removeTrailingSeparator();
                        for (int i = 0; i < length; i++) {
                                this.fullInclusionPatternChars[i] =
                                        prefixPath.append(this.inclusionPatterns[i]).toString().toCharArray();
                        }
                }
                return this.fullInclusionPatternChars;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * Returns a char based representation of the exclusions patterns full path.
         */
public char[][]  [[#variable8fb86b00]]() {
  if (this. [[#variable8fb86b00]]== UNINIT_PATTERNS) {
    int length = this. [[#variable8fb86a20]].length;
    this. [[#variable8fb86b00]]= new char[length][];
    IPath prefixPath = this.path.removeTrailingSeparator();
    for (int i = 0; i < length; i++) {
      this. [[#variable8fb86b00]][i] = prefixPath.append(this. [[#variable8fb86a20]][i]).toString().toCharArray();
    }
  }
  return this. [[#variable8fb86b00]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#8fb86b00]]
fullExclusionPatternChars 
12[[#8fb86b00]]
fullInclusionPatternChars 
21[[#8fb86a20]]
exclusionPatterns 
22[[#8fb86a20]]
inclusionPatterns