Author: sebb Date: Sat Nov 15 09:27:43 2008 New Revision: 717884 URL: http://svn.apache.org/viewvc?rev=717884&view=rev Log: Define getLabelResource() instead of getStaticLabel()
Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java 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/AjpSamplerGui.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java?rev=717884&r1=717883&r2=717884&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java (original) +++ jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AjpSamplerGui.java Sat Nov 15 09:27:43 2008 @@ -20,7 +20,6 @@ import org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui; import org.apache.jmeter.protocol.http.sampler.AjpSampler; import org.apache.jmeter.testelement.TestElement; -import org.apache.jmeter.util.JMeterUtils; public class AjpSamplerGui extends HttpTestSampleGui { @@ -34,8 +33,8 @@ return sampler; } - public String getStaticLabel() { - return JMeterUtils.getResString("ajp_sampler_title"); // $NON-NLS-1$ + public String getLabelResource() { + return "ajp_sampler_title"; // $NON-NLS-1$ } public String getDocAnchor() {// reuse documentation 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=717884&r1=717883&r2=717884&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 Sat Nov 15 09:27:43 2008 @@ -21,7 +21,6 @@ import org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory; import org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase; import org.apache.jmeter.testelement.TestElement; -import org.apache.jmeter.util.JMeterUtils; /** * HTTP Sampler GUI for Apache HTTPClient HTTP implementation @@ -38,8 +37,8 @@ return sampler; } - public String getStaticLabel() { - return JMeterUtils.getResString("web_testing2_title"); //$NON-NLS-1$ + public String getLabelResource() { + return "web_testing2_title"; //$NON-NLS-1$ } // Documentation is shared with our parent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]