public void setDate(String date) { super.setInternalDate(date); } /** * Label to check-out. * * @param label The label to check-out. * * @ant.attribute group="vdl" */ public void setLabel(String label) { super.setInternalLabel(label); } /** * Autoresponce behaviour. Valid options are Y and N. * * @param response The auto response value. */ public void setAutoresponse(String response) { super.setInternalAutoResponse(response); } /** * Date and time stamp given to the local copy. Defaults to <code>current</code>. * * @param timestamp The file time stamping behaviour. */ public void setFileTimeStamp(CurrentModUpdated timestamp) { super.setInternalFileTimeStamp(timestamp); } /** * Action taken when local files are writable. Defaults to <code>fail</code>. * <p> * Due to ss.exe returning with an exit code of '100' for both errors and when * a file has been skipped, <code>failonerror</code> is set to false when using * the <code>skip</code> option. * </p> * * @param files The writable files behaviour */ public void setWritableFiles(WritableFiles files) { super.setInternalWritableFiles(files)
public void setDate(String date) { super.setInternalDate(date); } /** * Label to get. * * @param label The label to get. * * @ant.attribute group="vdl" */ public void setLabel(String label) { super.setInternalLabel(label); } /** * Autoresponce behaviour. Valid options are Y and N. * * @param response The auto response value. */ public void setAutoresponse(String response) { super.setInternalAutoResponse(response); } /** * Date and time stamp given to the local copy. Defaults to <code>current</code>. * * @param timestamp The file time stamping behaviour. */ public void setFileTimeStamp(CurrentModUpdated timestamp) { super.setInternalFileTimeStamp(timestamp); } /** * Action taken when local files are writable. Defaults to <code>fail</code>. * <p> * Due to ss.exe returning with an exit code of '100' for both errors and when * a file has been skipped, <code>failonerror</code> is set to false when using * the <code>skip</code> option. * * @param files The action to take. */ public void setWritableFiles(WritableFiles files) { super.setInternalWritableFiles(files)
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSCHECKOUT.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setDate(String date) {
1
public void setDate(String date) {
2
        super.setInternalDate(date);
2
        super.setInternalDate(date);
3
    }
3
    }
4
    /**
4
    /**
5
     * Label to check-out.
5
     * Label to get.
6
     *
6
     *
7
     * @param  label The label to check-out.
7
     * @param  label The label to get.
8
     *
8
     *
9
     * @ant.attribute group="vdl"
9
     * @ant.attribute group="vdl"
10
     */
10
     */
11
    public void setLabel(String label) {
11
    public void setLabel(String label) {
12
        super.setInternalLabel(label);
12
        super.setInternalLabel(label);
13
    }
13
    }
14
    /**
14
    /**
15
     * Autoresponce behaviour. Valid options are Y and N.
15
     * Autoresponce behaviour. Valid options are Y and N.
16
     *
16
     *
17
     * @param response The auto response value.
17
     * @param response The auto response value.
18
     */
18
     */
19
    public void setAutoresponse(String response) {
19
    public void setAutoresponse(String response) {
20
        super.setInternalAutoResponse(response);
20
        super.setInternalAutoResponse(response);
21
    }
21
    }
22
    /**
22
    /**
23
     * Date and time stamp given to the local copy. Defaults to <code>current</code>.
23
     * Date and time stamp given to the local copy. Defaults to <code>current</code>.
24
     *
24
     *
25
     * @param timestamp     The file time stamping behaviour.
25
     * @param timestamp     The file time stamping behaviour.
26
     */
26
     */
27
    public void setFileTimeStamp(CurrentModUpdated timestamp) {
27
    public void setFileTimeStamp(CurrentModUpdated timestamp) {
28
        super.setInternalFileTimeStamp(timestamp);
28
        super.setInternalFileTimeStamp(timestamp);
29
    }
29
    }
30
    /**
30
    /**
31
     * Action taken when local files are writable. Defaults to <code>fail</code>.
31
     * Action taken when local files are writable. Defaults to <code>fail</code>.
32
     * <p>
32
     * <p>
33
     * Due to ss.exe returning with an exit code of '100' for both errors and when
33
     * Due to ss.exe returning with an exit code of '100' for both errors and when
34
     * a file has been skipped, <code>failonerror</code> is set to false when using
34
     * a file has been skipped, <code>failonerror</code> is set to false when using
35
     * the <code>skip</code> option.
35
     * the <code>skip</code> option.
36
     * </p>
37
     *
36
     *
38
     * @param files     The writable files behaviour
37
     * @param files The action to take.
39
     */
38
     */
40
    public void setWritableFiles(WritableFiles files) {
39
    public void setWritableFiles(WritableFiles files) {
41
        super.setInternalWritableFiles(files)
40
        super.setInternalWritableFiles(files)
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