Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 2 | 0.971 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 114 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java |
2 | 14 | 136 | 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; } |
| |||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13157000]] | setLocalTodir |
1 | 2 | [[#13157000]] | setLocalTofile |
2 | 1 | [[#13156f40]] | setRemoteTodir |
2 | 2 | [[#13156f40]] | setRemoteTofile |