Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 236 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/j2ee/JonasHotDeploymentTool.java |
2 | 13 | 139 | 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; } |
| |||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |