if (!Close.performAction(e)) {
return;
}
// Load the file for this recent file command
loadProjectFile(e, getRecentFile(e), false);
JMeterGUIComponent guiComp = guiPackage.getCurrentGui();
if (guiComp instanceof Clearable){
((Clearable) guiComp).clearData();
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/LoadRecentProject.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/Clear.java
|
Method name: void doAction(ActionEvent)
|
|
Method name: void doAction(ActionEvent)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | if (!Close.performAction(e)) {↵ | | |
|
2 | return;↵ | | 1 | JMeterGUIComponent guiComp = guiPackage.getCur↵
|
3 | }↵ | | |
|
4 | // Load the file for this recent file command↵ | | |
|
5 | loadProjectFile(e, getRecentFile(e), false); | | 2 | rentGui();↵
|
| | | 3 | if (guiComp instanceof Clearable){↵
|
| | | 4 | ((Clearable) guiComp).clearData(); ↵
|
| | | 5 | }
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |