You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by se...@apache.org on 2010/11/24 20:39:53 UTC
svn commit: r1038782 -
/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui2.java
Author: sebb
Date: Wed Nov 24 19:39:52 2010
New Revision: 1038782
URL: http://svn.apache.org/viewvc?rev=1038782&view=rev
Log:
Unused import
Modified:
jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui2.java
Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui2.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui2.java?rev=1038782&r1=1038781&r2=1038782&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui2.java (original)
+++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui2.java Wed Nov 24 19:39:52 2010
@@ -21,7 +21,6 @@ package org.apache.jmeter.protocol.http.
import java.awt.BorderLayout;
import javax.swing.JPanel;
-import org.apache.jmeter.protocol.http.sampler.HTTPSampler2;
import org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase;
import org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory;
import org.apache.jmeter.testelement.TestElement;
@@ -98,7 +97,7 @@ public class HttpTestSampleGui2 extends
@Override
public void configure(TestElement element) {
super.configure(element);
- final HTTPSampler2 samplerBase = (HTTPSampler2) element;
+ final HTTPSamplerBase samplerBase = (HTTPSamplerBase) element;
sourceIpAddr.setText(samplerBase.getIpSource());
}
@@ -109,7 +108,7 @@ public class HttpTestSampleGui2 extends
public void modifyTestElement(TestElement sampler) {
// TODO Auto-generated method stub
super.modifyTestElement(sampler);
- final HTTPSampler2 samplerBase = (HTTPSampler2) sampler;
+ final HTTPSamplerBase samplerBase = (HTTPSamplerBase) sampler;
samplerBase.setIpSource(sourceIpAddr.getText());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org