if (helpWindow == null) {
helpWindow = new JDialog(new Frame(),// independent frame to
// allow it to be overlaid
// by the main frame
JMeterUtils.getResString("help"),//$NON-NLS-1$
false);
helpWindow.getContentPane().setLayout(new GridLayout(1, 1));
ComponentUtil.centerComponentInWindow(helpWindow, 60);
}
if (helpWindow == null) {
helpWindow = new JDialog(new Frame(),// independent frame to
// allow it to be overlaid
// by the main frame
JMeterUtils.getResString("help"),//$NON-NLS-1$
false);
helpWindow.getContentPane().setLayout(new GridLayout(1, 1));
ComponentUtil.centerComponentInWindow(helpWindow, 60);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/action/Help.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/action/ReportHelp.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (helpWindow == null) {↵ | | 1 | if (helpWindow == null) {↵
|
2 | helpWindow = new JDialog(new Frame(),// independent frame to↵ | | 2 | helpWindow = new JDialog(new Frame(),// independent frame to↵
|
3 | // allow it to be overlaid↵ | | 3 | // allow it to be overlaid↵
|
4 | // by the main frame↵ | | 4 | // by the main frame↵
|
5 | JMeterUtils.getResString("help"),//$NON-NLS-1$↵ | | 5 | JMeterUtils.getResString("help"),//$NON-NLS-1$↵
|
6 | false);↵ | | 6 | false);↵
|
7 | helpWindow.getContentPane().setLayout(new GridLayout(1, 1));↵ | | 7 | helpWindow.getContentPane().setLayout(new GridLayout(1, 1));↵
|
8 | ComponentUtil.centerComponentInWindow(helpWindow, 60);↵ | | 8 | ComponentUtil.centerComponentInWindow(helpWindow, 60);↵
|
9 | } | | 9 | }
|
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 |