CloneSet587


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.951method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15263
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/CompressedResource.java
25192
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/StringResource.java
35113
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/ZipResource.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
263
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/CompressedResource.java

/**
 * Overrides the base version.
 * @param r the Reference to set.
 */
public void setRefid(Reference r) {
  if (resource != null) {
    throw noChildrenAllowed();
  }
  super.setRefid(r);
}


Next
Previous
Clone Instance
2
Line Count
5
Source Line
192
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/StringResource.java

/**
 * Overrides the super version.
 * @param r the Reference to set.
 */
public void setRefid(Reference r) {
  if (encoding != null) {
    throw tooManyAttributes();
  }
  super.setRefid(r);
}


First
Previous
Clone Instance
3
Line Count
5
Source Line
113
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/ZipResource.java

/**
 * Overrides the super version.
 * @param r the Reference to set.
 */
public void setRefid(Reference r) {
  if (encoding != null) {
    throw tooManyAttributes();
  }
  super.setRefid(r);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Overrides the super version.
     * @param r the Reference to set.
     */
/**
     * Overrides the base version.
     * @param r the Reference to set.
     */
public void setRefid(Reference r) {
  if ( [[#variable1300e320]]!= null) {
    throw [[#variable1300e2a0]]();
  }
  super.setRefid(r);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1300e320]]
resource 
12[[#1300e320]]
encoding 
13[[#1300e320]]
encoding 
21[[#1300e2a0]]
noChildrenAllowed 
22[[#1300e2a0]]
tooManyAttributes 
23[[#1300e2a0]]
tooManyAttributes