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
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 fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/condition/Socket.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/FTP.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setServer(String server) {↵ | | 1 | public void setServer(String server) {↵
|
2 | this.server = server;↵ | | 2 | this.server = server;↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Set the port attribute↵ | | 5 | * Sets the FTP port used by the remote server.↵
|
6 | *↵ | | 6 | *↵
|
7 | * @param port the port number of the socket↵ | | 7 | * @param port the port on which the remote server is listening.↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setPort(int port) {↵ | | 9 | public void setPort(int port) {↵
|
10 | this.port = port | | 10 | this.port = port
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |