CloneSet85


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
122225
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java
222173
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
22
Source Line
225
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/resources/BaseResourceCollectionContainer.java

/**
 * Format this BaseResourceCollectionContainer as a String.
 * @return a descriptive <code>String</code>.
 */
public synchronized String toString() {
  if (isReference()) {
    return getCheckedRef().toString();
  }
  if (cacheCollection().size() == 0) {
    return "";
  }
  StringBuffer sb = new StringBuffer();
  for (Iterator i = coll.iterator(); i.hasNext();) {
    if (sb.length() > 0) {
      sb.append(File.pathSeparatorChar);
    }
    sb.append(i.next());
  }
  return sb.toString();
}

private synchronized Collection cacheCollection() {
  if (coll == null || !isCache()) {
    coll = getCollection();
  }
  return coll;
}


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

/**
 * Format this BaseResourceCollectionWrapper as a String.
 * @return a descriptive <code>String</code>.
 */
public synchronized String toString() {
  if (isReference()) {
    return getCheckedRef().toString();
  }
  if (cacheCollection().size() == 0) {
    return "";
  }
  StringBuffer sb = new StringBuffer();
  for (Iterator i = coll.iterator(); i.hasNext();) {
    if (sb.length() > 0) {
      sb.append(File.pathSeparatorChar);
    }
    sb.append(i.next());
  }
  return sb.toString();
}

private synchronized Collection cacheCollection() {
  if (coll == null || !isCache()) {
    coll = getCollection();
  }
  return coll;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Format this BaseResourceCollectionWrapper as a String.
     * @return a descriptive <code>String</code>.
     */
/**
     * Format this BaseResourceCollectionContainer as a String.
     * @return a descriptive <code>String</code>.
     */
public synchronized String toString() {
  if (isReference()) {
    return getCheckedRef().toString();
  }
  if (cacheCollection().size() == 0) {
    return "";
  }
  StringBuffer sb = new StringBuffer();
  for (Iterator i = coll.iterator(); i.hasNext();) {
    if (sb.length() > 0) {
      sb.append(File.pathSeparatorChar);
    }
    sb.append(i.next());
  }
  return sb.toString();
}

private synchronized Collection cacheCollection() {
  if (coll == null || !isCache()) {
    coll = getCollection();
  }
  return coll;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None