CloneSet148


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
35210.957class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
138215
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/CallTarget.java
235130
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/SubAnt.java
Next
Last
Clone Instance
1
Line Count
38
Source Line
215
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/CallTarget.java

/**
 * Handles output.
 * Send it the the new project if is present, otherwise
 * call the super class.
 * @param output The string to output.
 * @see Task#handleFlush(String)
 * @since Ant 1.5.2
 */
public void handleFlush(String output) {
  if (callee != null) {
    callee.handleFlush(output);
  }
  else {
    super.handleFlush(output);
  }
}

/**
 * Handle error output.
 * Send it the the new project if is present, otherwise
 * call the super class.
 * @param output The string to output.
 *
 * @see Task#handleErrorOutput(String)
 * @since Ant 1.5
 */
public void handleErrorOutput(String output) {
  if (callee != null) {
    callee.handleErrorOutput(output);
  }
  else {
    super.handleErrorOutput(output);
  }
}

/**
 * Handle error output.
 * Send it the the new project if is present, otherwise
 * call the super class.
 * @param output The string to output.
 * @see Task#handleErrorFlush(String)
 * @since Ant 1.5.2
 */
public void handleErrorFlush(String output) {
  if (callee != null) {
    callee.handleErrorFlush(output);
  }
  else {
    super.handleErrorFlush(output);
  }
}


First
Previous
Clone Instance
2
Line Count
35
Source Line
130
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/SubAnt.java

/**
 * Pass output sent to System.out to the new project.
 *
 * @param output The output to log. Should not be <code>null</code>.
 *
 * @since Ant 1.6.2
 */
public void handleFlush(String output) {
  if (ant != null) {
    ant.handleFlush(output);
  }
  else {
    super.handleFlush(output);
  }
}

/**
 * Pass output sent to System.err to the new project.
 *
 * @param output The error output to log. Should not be <code>null</code>.
 *
 * @since Ant 1.6.2
 */
public void handleErrorOutput(String output) {
  if (ant != null) {
    ant.handleErrorOutput(output);
  }
  else {
    super.handleErrorOutput(output);
  }
}

/**
 * Pass output sent to System.err to the new project.
 *
 * @param output The error output to log. Should not be <code>null</code>.
 *
 * @since Ant 1.6.2
 */
public void handleErrorFlush(String output) {
  if (ant != null) {
    ant.handleErrorFlush(output);
  }
  else {
    super.handleErrorFlush(output);
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Pass output sent to System.out to the new project.
     *
     * @param output The output to log. Should not be <code>null</code>.
     *
     * @since Ant 1.6.2
     */
/**
     * Handles output.
     * Send it the the new project if is present, otherwise
     * call the super class.
     * @param output The string to output.
     * @see Task#handleFlush(String)
     * @since Ant 1.5.2
     */
public void handleFlush(String output) {
  if ( [[#variable131813a0]]!= null) {
     [[#variable131813a0]].handleFlush(output);
  }
  else {
    super.handleFlush(output);
  }
}

/**
     * Pass output sent to System.err to the new project.
     *
     * @param output The error output to log. Should not be <code>null</code>.
     *
     * @since Ant 1.6.2
     */
/**
     * Handle error output.
     * Send it the the new project if is present, otherwise
     * call the super class.
     * @param output The string to output.
     *
     * @see Task#handleErrorOutput(String)
     * @since Ant 1.5
     */
public void handleErrorOutput(String output) {
  if ( [[#variable131813a0]]!= null) {
     [[#variable131813a0]].handleErrorOutput(output);
  }
  else {
    super.handleErrorOutput(output);
  }
}

/**
     * Pass output sent to System.err to the new project.
     *
     * @param output The error output to log. Should not be <code>null</code>.
     *
     * @since Ant 1.6.2
     */
/**
     * Handle error output.
     * Send it the the new project if is present, otherwise
     * call the super class.
     * @param output The string to output.
     * @see Task#handleErrorFlush(String)
     * @since Ant 1.5.2
     */
public void handleErrorFlush(String output) {
  if ( [[#variable131813a0]]!= null) {
     [[#variable131813a0]].handleErrorFlush(output);
  }
  else {
    super.handleErrorFlush(output);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#131813a0]]
callee 
12[[#131813a0]]
ant