static { commands.add(ActionNames.HELP); helpDoc = new HtmlPane(); scroller = new JScrollPane(helpDoc); helpDoc.setEditable(false); try { helpDoc.setPage(HELP_PAGE); currentPage = HELP_PAGE; } catch (IOException err) { String msg = "Couldn't load help file " + err.toString(); log.error(msg); currentPage = "";// Avoid NPE in resetPage() // $NON-NLS-1$ }
static { commands.add(HELP); helpDoc = new HtmlPane(); scroller = new JScrollPane(helpDoc); helpDoc.setEditable(false); try { helpDoc.setPage(HELP_PAGE); currentPage = HELP_PAGE; } catch (IOException err) { String msg = "Couldn't load help file " + err.toString(); log.error(msg); currentPage = "";// Avoid NPE in resetPage() }
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
static {
1
static {
2
		commands.add(ActionNames.HELP);
2
		commands.add(HELP);
3
		helpDoc = new HtmlPane();
3
		helpDoc = new HtmlPane();
4
		scroller = new JScrollPane(helpDoc);
4
		scroller = new JScrollPane(helpDoc);
5
		helpDoc.setEditable(false);
5
		helpDoc.setEditable(false);
6
		try {
6
		try {
7
			helpDoc.setPage(HELP_PAGE);
7
			helpDoc.setPage(HELP_PAGE);
8
			currentPage = HELP_PAGE;
8
			currentPage = HELP_PAGE;
9
		} catch (IOException err) {
9
		} catch (IOException err) {
10
			String msg = "Couldn't load help file " + err.toString();
10
			String msg = "Couldn't load help file " + err.toString();
11
			log.error(msg);
11
			log.error(msg);
12
			currentPage = "";// Avoid NPE in resetPage() // $NON-NLS-1$
12
			currentPage = "";// Avoid NPE in resetPage()
13
		}
13
		}
14
	
14
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0