CloneSet493


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.971class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114114
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java
214136
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java
Next
Last
Clone Instance
1
Line Count
14
Source Line
114
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java

/**
 * Similiar to {@link #setTodir setTodir} but explicitly states
 * that the directory is a local.  This is the only way to specify
 * a local directory with a @ character.
 * @param aToUri a string representing the target of the copy.
 * @since Ant 1.6.2
 */
public void setLocalTodir(String aToUri) {
  setToUri(aToUri);
  this.isToRemote = false;
}

/**
 * Similiar to {@link #setTodir setTodir} but explicitly states
 * that the directory is a remote.
 * @param aToUri a string representing the target of the copy.
 * @since Ant 1.6.2
 */
public void setRemoteTodir(String aToUri) {
  setToUri(aToUri);
  this.isToRemote = true;
}


First
Previous
Clone Instance
2
Line Count
14
Source Line
136
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java

/**
 * Changes the file name to the given name while receiving it,
 * only useful if receiving a single file.
 * @param aToUri a string representing the target of the copy.
 * @since Ant 1.6.2
 */
public void setLocalTofile(String aToUri) {
  setToUri(aToUri);
  this.isToRemote = false;
}

/**
 * Changes the file name to the given name while sending it,
 * only useful if sending a single file.
 * @param aToUri a string representing the target of the copy.
 * @since Ant 1.6.2
 */
public void setRemoteTofile(String aToUri) {
  setToUri(aToUri);
  this.isToRemote = true;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Similiar to {@link #setTodir setTodir} but explicitly states
     * that the directory is a local.  This is the only way to specify
     * a local directory with a @ character.
     * @param aToUri a string representing the target of the copy.
     * @since Ant 1.6.2
     */
/**
     * Changes the file name to the given name while receiving it,
     * only useful if receiving a single file.
     * @param aToUri a string representing the target of the copy.
     * @since Ant 1.6.2
     */
public void [[#variable13157000]](String aToUri) {
  setToUri(aToUri);
  this.isToRemote = false;
}

/**
     * Similiar to {@link #setTodir setTodir} but explicitly states
     * that the directory is a remote.
     * @param aToUri a string representing the target of the copy.
     * @since Ant 1.6.2
     */
/**
     * Changes the file name to the given name while sending it,
     * only useful if sending a single file.
     * @param aToUri a string representing the target of the copy.
     * @since Ant 1.6.2
     */
public void [[#variable13156f40]](String aToUri) {
  setToUri(aToUri);
  this.isToRemote = true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13157000]]
setLocalTodir 
12[[#13157000]]
setLocalTofile 
21[[#13156f40]]
setRemoteTodir 
22[[#13156f40]]
setRemoteTofile