public void configure(TestElement el) { super.configure(el); SoapSampler sampler = (SoapSampler) el; urlField.setText(sampler.getURLData()); sendSoapAction.setSelected(sampler.getSendSOAPAction()); soapAction.setText(sampler.getSOAPAction()); soapXml.setText(sampler.getXmlData()); soapXmlFile.setFilename(sampler.getXmlFile()); useKeepAlive.setSelected(sampler.getUseKeepAlive());
public void configure(TestElement element) { super.configure(element); LineChart bc = (LineChart)element; xItems.setText(bc.getXAxis()); yItems.setText(bc.getYAxis()); xAxisLabel.setText(bc.getXLabel()); yAxisLabel.setText(bc.getYLabel()); caption.setText(bc.getCaption()); urls.setText(bc.getURLs());
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/control/gui/SoapSamplerGui.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/report/gui/LineGraphGui.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void configure(TestElement el) {
1
public void configure(TestElement el
2
		super.configure(el);
3
		SoapSampler sampler = (SoapSampler) el;
4
		urlField.setText(sampler.getURLData());
5
		sendSoapAction.setSelected(sampler.getSendSOAPAction());
6
		soapAction.setText(sampler.getSOAPAction());
7
		soapXml.setText(sampler.getXmlData
2
ement) {
3
        super.configure(element);
4
        LineChart bc = (LineChart)element;
5
        xItems.setText(bc.getXAxis());
6
        yItems.setText(bc.getYAxis());
7
        xAxisLabel.setText(bc.getXLabel());
8
());
8
        yAxisLabel.setText(bc.getYLabel());
9
        soapXmlFile.setFilename(sampler.getXmlFile());
9
        caption.setText(bc.getCaption());
10
        useKeepAlive.setSelected(sampler.getUseKeepAlive());
10
        urls.setText(bc.getURLs());
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