CloneSet508


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.970class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111882
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/FixCrLfFilter.java
210956
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/FixCrLfFilter.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
882
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/FixCrLfFilter.java

/**
 * Equality depending in the index.
 * @param other the object to test equality against.
 * @return true if the object has the same index as this.
 */
public boolean equals(Object other) {
  return other instanceof AddAsisRemove && getIndex() == ((AddAsisRemove) other).getIndex();
}

/**
 * Hashcode depending on the index.
 * @return the index as the hashcode.
 */
public int hashCode() {
  return getIndex();
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
956
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/FixCrLfFilter.java

/**
 * Equality depending in the index.
 * @param other the object to test equality against.
 * @return true if the object has the same index as this.
 */
public boolean equals(Object other) {
  return other instanceof CrLf && getIndex() == ((CrLf) other).getIndex();
}

/**
 * Hashcode depending on the index.
 * @return the index as the hashcode.
 */
public int hashCode() {
  return getIndex();
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Equality depending in the index.
         * @param other the object to test equality against.
         * @return true if the object has the same index as this.
         */
public boolean equals(Object other) {
  return other instanceof [[#variable131771c0]]&& getIndex() == (( [[#variable131771c0]]) other).getIndex();
}

/**
         * Hashcode depending on the index.
         * @return the index as the hashcode.
         */
public int hashCode() {
  return getIndex();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#131771c0]]
AddAsisRemove 
12[[#131771c0]]
CrLf