CloneSet676


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11142
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/condition/Socket.java
2121037
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/FTP.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
42
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/condition/Socket.java

/**
 * Set the server attribute
 *
 * @param server the server name
 */
public void setServer(String server) {
  this.server = server;
}

/**
 * Set the port attribute
 *
 * @param port the port number of the socket
 */
public void setPort(int port) {
  this.port = port;
}


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

/**
 * Sets the FTP server to send files to.
 *
 * @param server the remote server name.
 */
public void setServer(String server) {
  this.server = server;
}

/**
 * Sets the FTP port used by the remote server.
 *
 * @param port the port on which the remote server is listening.
 */
public void setPort(int port) {
  this.port = port;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Sets the FTP server to send files to.
     *
     * @param server the remote server name.
     */
/**
     * Set the server attribute
     *
     * @param server the server name
     */
public void setServer(String server) {
  this.server = server;
}

/**
     * Sets the FTP port used by the remote server.
     *
     * @param port the port on which the remote server is listening.
     */
/**
     * Set the port attribute
     *
     * @param port the port number of the socket
     */
public void setPort(int port) {
  this.port = port;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None