CloneSet305


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113236
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java
213139
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java
Next
Last
Clone Instance
1
Line Count
13
Source Line
236
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java

/**
 *  Determines if the action supplied is valid. <p>
 *
 *  Valid actions are contained in the static array
 *  VALID_ACTIONS
 *
 *@return    true if the action attribute is valid, false if
 *      not.
 */
protected boolean isActionValid() {
  boolean valid = false;
  String action = getTask().getAction();
  for (int i = 0; i < VALID_ACTIONS.length; i++) {
    if (action.equals(VALID_ACTIONS[i])) {
      valid = true;
      break;
    }
  }
  return valid;
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
139
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/j2ee/WebLogicHotDeploymentTool.java

/**
 *  Determines if the action supplied is valid.
 *  <p>Valid actions are contained in the static array VALID_ACTIONS
 *  @return true if the action attribute is valid, false if not.
 */
protected boolean isActionValid() {
  boolean valid = false;
  String action = getTask().getAction();
  for (int i = 0; i < VALID_ACTIONS.length; i++) {
    if (action.equals(VALID_ACTIONS[i])) {
      valid = true;
      break;
    }
  }
  return valid;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     *  Determines if the action supplied is valid. <p>
     *
     *  Valid actions are contained in the static array
     *  VALID_ACTIONS
     *
     *@return    true if the action attribute is valid, false if
     *      not.
     */
/**
     *  Determines if the action supplied is valid.
     *  <p>Valid actions are contained in the static array VALID_ACTIONS
     *  @return true if the action attribute is valid, false if not.
     */
protected boolean isActionValid() {
  boolean valid = false;
  String action = getTask().getAction();
  for (int i = 0; i < VALID_ACTIONS.length; i++) {
    if (action.equals(VALID_ACTIONS[i])) {
      valid = true;
      break;
    }
  }
  return valid;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None