public static JMenu makeMenus(String[] categories, String label, String actionCommand) {
JMenu addMenu = new JMenu(label);
for (int i = 0; i < categories.length; i++) {
addMenu.add(makeMenu(categories[i], actionCommand));
}
return addMenu;
public static JMenu makeMenus(String[] categories, String label, String actionCommand) {
JMenu addMenu = new JMenu(label);
for (int i = 0; i < categories.length; i++) {
addMenu.add(makeMenu(categories[i], actionCommand));
}
return addMenu;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/MenuFactory.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/ReportMenuFactory.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public static JMenu makeMenus(String[] categories, String label, String actionCommand) {↵ | | 1 | public static JMenu makeMenus(String[] categories, String label, String actionCommand) {↵
|
2 | JMenu addMenu = new JMenu(label);↵ | | 2 | JMenu addMenu = new JMenu(label);↵
|
3 | for (int i = 0; i < categories.length; i++) {↵ | | 3 | for (int i = 0; i < categories.length; i++) {↵
|
4 | addMenu.add(makeMenu(categories[i], actionCommand));↵ | | 4 | addMenu.add(makeMenu(categories[i], actionCommand));↵
|
5 | }↵ | | 5 | }↵
|
6 | return addMenu;↵ | | 6 | return addMenu;↵
|
7 | | | 7 |
|
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.0 |
Clones location | |
Number of node comparisons | 0 |