DirectoryPanel(String title, String filetype) {
this(title);
this.filetype = filetype;
}
/**
* Constructor for the FilePanel object.
*/
public DirectoryPanel(ChangeListener l, String title) {
this.title = title;
init();
listeners.add(l);
}
ReportFilePanel(String title, String filetype) {
this(title);
this.filetype = filetype;
}
/**
* Constructor for the FilePanel object.
*/
public ReportFilePanel(ChangeListener l, String title) {
this.title = title;
init();
listeners.add(l);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/DirectoryPanel.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/ReportFilePanel.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | DirectoryPanel(String title, String filetype) {↵ | | 1 | ReportFilePanel(String title, String filetype) {↵
|
2 | this(title);↵ | | 2 | this(title);↵
|
3 | this.filetype = filetype;↵ | | 3 | this.filetype = filetype;↵
|
4 | }↵ | | 4 | }↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Constructor for the FilePanel object.↵ | | 6 | * Constructor for the FilePanel object.↵
|
7 | */↵ | | 7 | */↵
|
8 | public DirectoryPanel(ChangeListener l, String title) {↵ | | 8 | public ReportFilePanel(ChangeListener l, String title) {↵
|
9 | this.title = title;↵ | | 9 | this.title = title;↵
|
10 | init();↵ | | 10 | init();↵
|
11 | listeners.add(l);↵ | | 11 | listeners.add(l);↵
|
12 | } | | 12 | }
|
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 |