CloneSet478


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19220.957class_body
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
119120
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
219257
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
Next
Last
Clone Instance
1
Line Count
19
Source Line
120
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java

{
  private boolean echoString = true;

  /**
   * Execute the write exec task.
   * @param rexec the task to use
   * @throws BuildException on error
   */
  public void execute(AntRExecClient rexec) throws BuildException {
    rexec.sendString(taskString, echoString);
  }

  /**
   * Whether or not the message should be echoed to the log.
   * Defaults to <code>true</code>.
   * @param b a <code>boolean</code> value
   */
  public void setEcho(boolean b) {
    echoString = b;
  }
}


First
Previous
Clone Instance
2
Line Count
19
Source Line
257
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java

{
  private boolean echoString = true;

  /**
   * Execute the write task.
   * @param telnet the task to use
   * @throws BuildException on error
   */
  public void execute(AntTelnetClient telnet) throws BuildException {
    telnet.sendString(taskString, echoString);
  }

  /**
   * Whether or not the message should be echoed to the log.
   * Defaults to <code>true</code>.
   * @param b a <code>boolean</code> value
   */
  public void setEcho(boolean b) {
    echoString = b;
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  private boolean echoString = true;

  /**
           * Execute the write task.
           * @param telnet the task to use
           * @throws BuildException on error
           */
  /**
           * Execute the write exec task.
           * @param rexec the task to use
           * @throws BuildException on error
           */
  public void execute( [[#variable131443e0]]  [[#variable13144360]]) throws BuildException {
     [[#variable13144360]].sendString(taskString, echoString);
  }

  /**
           * Whether or not the message should be echoed to the log.
           * Defaults to <code>true</code>.
           * @param b a <code>boolean</code> value
           */
  public void setEcho(boolean b) {
    echoString = b;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#131443e0]]
AntRExecClient 
12[[#131443e0]]
AntTelnetClient 
21[[#13144360]]
rexec 
22[[#13144360]]
telnet