String getNoCache() { return noCache ? FLAG_NO_CACHE : ""; } /** * Get the 'verbose' Flag. * * @return the 'verbose' Flag if the attribute was 'true', otherwise an empty string. */ protected String getVerbose() { return verbose ? FLAG_VERBOSE : ""; } /** * Get the 'recursive' Flag. * * @return the 'recursive' Flag if the attribute was 'true', otherwise an empty string. */ protected String getRecursive() { return recursive ? FLAG_RECURSION : "";
String getNoCompress() { return noCompress ? FLAG_NO_COMPRESSION : ""; } /** * Get the NoCache flag. * * @return the 'nocache' Flag if the attribute was 'true', otherwise an empty string. */ protected String getNoCache() { return noCache ? FLAG_NO_CACHE : ""; } /** * Get the 'verbose' Flag. * * @return the 'verbose' Flag if the attribute was 'true', otherwise an empty string. */ protected String getVerbose() { return verbose ? FLAG_VERBOSE : "";
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/sos/SOS.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/sos/SOS.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getNoCompress() {
2
        return noCompress ? FLAG_NO_COMPRESSION : "";
3
    }
4
    /**
5
     * Get the NoCache flag.
6
     *
7
     * @return the 'nocache' Flag if the attribute was 'true', otherwise an empty string.
8
     */
1
String getNoCache() {
9
    protected String getNoCache() {
2
        return noCache ? FLAG_NO_CACHE : "";
10
        return noCache ? FLAG_NO_CACHE : "";
3
    }
11
    }
4
    /**
12
    /**
5
     * Get the 'verbose' Flag.
13
     * Get the 'verbose' Flag.
6
     *
14
     *
7
     * @return the 'verbose' Flag if the attribute was 'true', otherwise an empty string.
15
     * @return the 'verbose' Flag if the attribute was 'true', otherwise an empty string.
8
     */
16
     */
9
    protected String getVerbose() {
17
    protected String getVerbose() {
10
        return verbose ? FLAG_VERBOSE : "";
18
        return verbose ? FLAG_VERBOSE : "";
11
    }
19
    
12
    /**
13
     * Get the 'recursive' Flag.
14
     *
15
     * @return the 'recursive' Flag if the attribute was 'true', otherwise an empty string.
16
     */
17
    protected String getRecursive() {
18
        return recursive ? FLAG_RECURSION : "";
19
    
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