CloneSet357


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117232
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/EchoProperties.java
217312
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
232
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/EchoProperties.java

/**
 * Set the output format - xml or text.
 * @param ea an enumerated <code>FormatAttribute</code> value
 */
public void setFormat(FormatAttribute ea) {
  format = ea.getValue();
}

/**
 * A enumerated type for the format attribute.
 * The values are "xml" and "text".
 */
public static class FormatAttribute extends EnumeratedAttribute {
  private String[] formats = new String[] {
                                            "xml",
                                            "text"
                                          };

  /**
   * @see EnumeratedAttribute#getValues()
   * @return accepted values
   */
  public String[] getValues() {
    return formats;
  }
}


First
Previous
Clone Instance
2
Line Count
17
Source Line
312
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java

/**
 * The format to write the output in, "xml" or "text".
 *
 * @param ea xml or text
 */
public void setFormat(FormatAttribute ea) {
  format = ea.getValue();
}

/**
 * A class for the enumerated attribute format,
 * values are xml and text.
 * @see EnumeratedAttribute
 */
public static class FormatAttribute extends EnumeratedAttribute {
  private String[] formats = new String[] {
                                            "xml",
                                            "text"
                                          };

  /**
   * @return the enumerated values
   */
  public String[] getValues() {
    return formats;
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * The format to write the output in, "xml" or "text".
     *
     * @param ea xml or text
     */
/**
     * Set the output format - xml or text.
     * @param ea an enumerated <code>FormatAttribute</code> value
     */
public void setFormat(FormatAttribute ea) {
  format = ea.getValue();
}

/**
     * A class for the enumerated attribute format,
     * values are xml and text.
     * @see EnumeratedAttribute
     */
/**
     * A enumerated type for the format attribute.
     * The values are "xml" and "text".
     */
public static class FormatAttribute extends EnumeratedAttribute {
  private String[] formats = new String[] {
                                            "xml",
                                            "text"
                                          };

  /**
           * @return the enumerated values
           */
  /**
           * @see EnumeratedAttribute#getValues()
           * @return accepted values
           */
  public String[] getValues() {
    return formats;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None