CloneSet641


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19319
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/clearcase/CCMkattr.java
29309
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/clearcase/CCMklabel.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
319
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/clearcase/CCMkattr.java

/**
 * Get the 'version' command
 *
 * @param cmd CommandLine containing the command line string with or
 *                    without the version flag and string appended
 */
private void getVersionCommand(Commandline cmd) {
  if (getVersion() != null) {
    /* Had to make two separate commands here because if a space is
       inserted between the flag and the value, it is treated as a
       Windows filename with a space and it is enclosed in double
       quotes ("). This breaks clearcase.
    */
    cmd.createArgument().setValue(FLAG_VERSION);
    cmd.createArgument().setValue(getVersion());
  }
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
309
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/clearcase/CCMklabel.java

/**
 * Get the 'version' command
 *
 * @param cmd CommandLine containing the command line string with or
 *                    without the version flag and string appended
 */
private void getVersionCommand(Commandline cmd) {
  if (getVersion() != null) {
    /* Had to make two separate commands here because if a space is
       inserted between the flag and the value, it is treated as a
       Windows filename with a space and it is enclosed in double
       quotes ("). This breaks clearcase.
    */
    cmd.createArgument().setValue(FLAG_VERSION);
    cmd.createArgument().setValue(getVersion());
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Get the 'version' command
     *
     * @param cmd CommandLine containing the command line string with or
     *                    without the version flag and string appended
     */
private void getVersionCommand(Commandline cmd) {
  if (getVersion() != null) {
    /* Had to make two separate commands here because if a space is
                   inserted between the flag and the value, it is treated as a
                   Windows filename with a space and it is enclosed in double
                   quotes ("). This breaks clearcase.
                */
    cmd.createArgument().setValue(FLAG_VERSION);
    cmd.createArgument().setValue(getVersion());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None