CloneSet551


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17201.000class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11740
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java
21741
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/BaseResourceCollectionWrapper.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
40
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java

private Collection coll = null;

private boolean cache = true;

/**
 * Set whether to cache collections.
 * @param b boolean cache flag.
 */
public synchronized void setCache(boolean b) {
  cache = b;
}

/**
 * Learn whether to cache collections. Default is <code>true</code>.
 * @return boolean cache flag.
 */
public synchronized boolean isCache() {
  return cache;
}


First
Previous
Clone Instance
2
Line Count
17
Source Line
41
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/BaseResourceCollectionWrapper.java

private Collection coll = null;

private boolean cache = true;

/**
 * Set whether to cache collections.
 * @param b boolean cache flag.
 */
public synchronized void setCache(boolean b) {
  cache = b;
}

/**
 * Learn whether to cache collections. Default is <code>true</code>.
 * @return boolean cache flag.
 */
public synchronized boolean isCache() {
  return cache;
}


Clone AbstractionParameter Count: 0Parameter Bindings

private Collection coll = null;

private boolean cache = true;

/**
     * Set whether to cache collections.
     * @param b boolean cache flag.
     */
public synchronized void setCache(boolean b) {
  cache = b;
}

/**
     * Learn whether to cache collections. Default is <code>true</code>.
     * @return boolean cache flag.
     */
public synchronized boolean isCache() {
  return cache;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None