Author: sebb
Date: Fri Nov 20 15:52:14 2009
New Revision: 882615
URL: http://svn.apache.org/viewvc?rev=882615&view=rev
Log:
Document deliberate use of deprecated methods
Modified:
jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java?rev=882615&r1=882614&r2=882615&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java Fri Nov 20 15:52:14 2009
@@ -279,6 +279,7 @@
* @param threadContext
* @return SampleResult if a transaction was processed
*/
+ @SuppressWarnings("deprecation") // OK to call TestBeanHelper.prepare()
private SampleResult process_sampler(Sampler current, Sampler parent, JMeterContext threadContext) {
SampleResult transactionResult = null;
try {
@@ -565,6 +566,7 @@
log.info("Stop Thread detected by thread: " + threadName);
}
+ @SuppressWarnings("deprecation") // OK to call TestBeanHelper.prepare()
private void checkAssertions(List<Assertion> assertions, SampleResult parent, JMeterContext threadContext) {
Iterator<Assertion> iter = assertions.iterator();
while (iter.hasNext()) {
@@ -606,6 +608,7 @@
result.addAssertionResult(assertionResult);
}
+ @SuppressWarnings("deprecation") // OK to call TestBeanHelper.prepare()
private void runPostProcessors(List<PostProcessor> extractors) {
ListIterator<PostProcessor> iter;
if (reversePostProcessors) {// Original (rather odd) behaviour
@@ -625,6 +628,7 @@
}
}
+ @SuppressWarnings("deprecation") // OK to call TestBeanHelper.prepare()
private void runPreProcessors(List<PreProcessor> preProcessors) {
Iterator<PreProcessor> iter = preProcessors.iterator();
while (iter.hasNext()) {
@@ -637,6 +641,7 @@
}
}
+ @SuppressWarnings("deprecation") // OK to call TestBeanHelper.prepare()
private void delay(List<Timer> timers) {
long sum = 0;
Iterator<Timer> iter = timers.iterator();
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.