public void setAlias(final String alias) { this.alias = alias; } /** * keystore location; required * * @param keystore the keystore location */ public void setKeystore(final String keystore) { this.keystore = keystore; } /** * password for keystore integrity; required * * @param storepass the password for the keystore */ public void setStorepass(final String storepass) { this.storepass = storepass; } /** * keystore type; optional * * @param storetype the keystore type */ public void setStoretype(final String storetype) { this.storetype = storetype; } /** * password for private key (if different); optional * * @param keypass the password for the key (if different) */ public void setKeypass(final String keypass) { this.keypass = keypass; } /** * Enable verbose output when signing ; optional: default false * * @param verbose if true enable verbose output */ public void setVerbose(final boolean verbose) { this.verbose = verbose
public void setAlias(final String alias) { this.alias = alias; } /** * Keystore location. * * @param keystore location */ public void setKeystore(final String keystore) { this.keystore = keystore; } /** * Password for keystore integrity. * Must be at least 6 characters long. * @param storepass password */ public void setStorepass(final String storepass) { this.storepass = storepass; } /** * Keystore type. * * @param storetype type */ public void setStoretype(final String storetype) { this.storetype = storetype; } /** * Password for private key (if different). * * @param keypass password */ public void setKeypass(final String keypass) { this.keypass = keypass; } /** * The algorithm to use in signing. * * @param sigalg algorithm */ public void setSigalg(final String sigalg) { this.sigalg = sigalg
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/AbstractJarSignerTask.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/GenerateKey.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void setAlias(final String alias) {
1
public void setAlias(final String alias) {
2
        this.alias = alias;
2
        this.alias = alias;
3
    }
3
    }
4
    /**
4
    /**
5
     * keystore location; required
5
     * Keystore location.
6
     *
6
     *
7
     * @param keystore the keystore location
7
     * @param keystore location
8
     */
8
     */
9
    public void setKeystore(final String keystore) {
9
    public void setKeystore(final String keystore) {
10
        this.keystore = keystore;
10
        this.keystore = keystore;
11
    }
11
    }
12
    /**
12
    /**
13
     * password for keystore integrity; required
13
     * Password for keystore integrity
14
     *
14
.
15
     * Must be at least 6 characters long.
15
     * @param storepass the password for the keystore
16
     * @param storepass password
16
     */
17
     */
17
    public void setStorepass(final String storepass) {
18
    public void setStorepass(final String storepass) {
18
        this.storepass = storepass;
19
        this.storepass = storepass;
19
    }
20
    }
20
    /**
21
    /**
21
     * keystore type; optional
22
     * Keystore type.
22
     *
23
     *
23
     * @param storetype the keystore type
24
     * @param storetype type
24
     */
25
     */
25
    public void setStoretype(final String storetype) {
26
    public void setStoretype(final String storetype) {
26
        this.storetype = storetype;
27
        this.storetype = storetype;
27
    }
28
    }
28
    /**
29
    /**
29
     * password for private key (if different); optional
30
     * Password for private key (if different).
30
     *
31
     *
31
     * @param keypass the password for the key (if different)
32
     * @param keypass password
32
     */
33
     */
33
    public void setKeypass(final String keypass) {
34
    public void setKeypass(final String keypass) {
34
        this.keypass = keypass;
35
        this.keypass = keypass;
35
    }
36
    }
36
    /**
37
    /**
37
     * Enable verbose output when signing ; optional: default false
38
     * 
38
     *
39
     * @param verbose if true enable verbose output
39
The algorithm to use in signing.
40
     *
41
     * @param sigalg algorithm
40
     */
42
     */
41
    public void setVerbose(final boolean verbose) {
43
    public void set
42
        this.verbose = verbose
44
Sigalg(final String sigalg) {
45
        this.sigalg = sigalg
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