CloneSet533


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
22220.954nested_class_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
122219
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContains.java
222199
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/StripLineComments.java
Next
Last
Clone Instance
1
Line Count
22
Source Line
219
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContains.java

/**
 * Holds a contains element
 */
public static class Contains {
  /** User defined contains string */
  private String value;

  /**
   * Sets the contains string
   *
   * @param contains The contains string to set.
   *                 Must not be <code>null</code>.
   */
  public final void setValue(String contains) {
    value = contains;
  }

  /**
   * Returns the contains string.
   *
   * @return the contains string for this element
   */
  public final String getValue() {
    return value;
  }
}


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

/**
 * The class that holds a comment representation.
 */
public static class Comment {
  /** The prefix for a line comment. */
  private String value;

  /**
   * Sets the prefix for this type of line comment.
   *
   * @param comment The prefix for a line comment of this type.
   * Must not be <code>null</code>.
   */
  public final void setValue(String comment) {
    value = comment;
  }

  /**
   * Returns the prefix for this type of line comment.
   *
   * @return the prefix for this type of line comment.
   */
  public final String getValue() {
    return value;
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Holds a contains element
     */
/**
     * The class that holds a comment representation.
     */
public static class [[#variable13165a40]]{
  /** User defined contains string */
  /** The prefix for a line comment. */
  private String value;

  /**
           * Sets the contains string
           *
           * @param contains The contains string to set.
           *                 Must not be <code>null</code>.
           */
  /**
           * Sets the prefix for this type of line comment.
           *
           * @param comment The prefix for a line comment of this type.
           * Must not be <code>null</code>.
           */
  public final void setValue(String  [[#variable131659a0]]) {
    value = [[#variable131659a0]];
  }

  /**
           * Returns the contains string.
           *
           * @return the contains string for this element
           */
  /**
           * Returns the prefix for this type of line comment.
           *
           * @return the prefix for this type of line comment.
           */
  public final String getValue() {
    return value;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13165a40]]
Contains 
12[[#13165a40]]
Comment 
21[[#131659a0]]
contains 
22[[#131659a0]]
comment