String getLabelResource() { return "simple_data_writer_title"; // $NON-NLS-1$ } /** * Initialize the component in the UI */ private void init() { setLayout(new BorderLayout()); setBorder(makeBorder()); add(makeTitlePanel(), BorderLayout.NORTH); }
String getLabelResource() { return "workbench_title"; // $NON-NLS-1$ } /** * Initialize the components and layout of this component. */ private void init() { setLayout(new BorderLayout()); setBorder(makeBorder()); add(makeTitlePanel(), BorderLayout.NORTH); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/SimpleDataWriter.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/control/gui/WorkBenchGui.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getLabelResource() {
1
String getLabelResource() {
2
		return "simple_data_writer_title"; // $NON-NLS-1$
2
		return "workbench_title"; // $NON-NLS-1$
3
	}
3
	}
4
	/**
4
	/**
5
	 * Initialize the component in the UI
5
	 * Initialize the components and layout of this component.
6
	 */
6
	 */
7
	private void init() {
7
	private void init() {
8
		setLayout(new BorderLayout());
8
		setLayout(new BorderLayout());
9
		setBorder(makeBorder());
9
		setBorder(makeBorder());
10
		add(makeTitlePanel(), BorderLayout.NORTH);
10
		add(makeTitlePanel(), BorderLayout.NORTH);
11
	}
11
	}
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