public final void setFile(String filename) { super.setInternalFilename(filename); } /** * Flag to recursively apply the action. Defaults to false. * * @param recursive True for recursive operation. */ public void setRecursive(boolean recursive) { super.setInternalRecursive(recursive); } /** * The comment to apply to all files being labelled. * * @param comment The new comment value */ public void setComment(String comment) { super.setInternalComment(comment)
public final void setFile(String filename) { super.setInternalFilename(filename); } /** * Flag to recursively apply the action. Defaults to false * * @param recursive True for recursive operation. */ public void setRecursive(boolean recursive) { super.setInternalRecursive(recursive); } /** * Set the version number to get - * only works with SOSGet on a file. * * @param version The new version value */ public void setVersion(String version) { super.setInternalVersion(version)
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/sos/SOSCheckin.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/sos/SOSGet.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public final void setFile(String filename) {
1
public final void setFile(String filename) {
2
        super.setInternalFilename(filename);
2
        super.setInternalFilename(filename);
3
    }
3
    }
4
    /**
4
    /**
5
     * Flag to recursively apply the action. Defaults to false.
5
     * Flag to recursively apply the action. Defaults to false
6
     *
6
     *
7
     * @param  recursive  True for recursive operation.
7
     * @param  recursive  True for recursive operation.
8
     */
8
     */
9
    public void setRecursive(boolean recursive) {
9
    public void setRecursive(boolean recursive) {
10
        super.setInternalRecursive(recursive);
10
        super.setInternalRecursive(recursive);
11
    }
11
    }
12
    /**
12
    /**
13
     * The comment to apply to all files being label
13
     * Set the version number to get -
14
led.
14
     * only works with SOSGet on a file.
15
     *
15
     *
16
     * @param  comment  The new comment value
16
     * @param  version  The new version value
17
     */
17
     */
18
    public void setComment(String comment) {
18
    public void setVersion(String version) {
19
        super.setInternalComment(comment)
19
        super.setInternalVersion(version)
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0