You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/02/21 00:59:04 UTC
svn commit: r509819 -
/jakarta/jmeter/branches/rel-2-2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
Author: sebb
Date: Tue Feb 20 15:59:03 2007
New Revision: 509819
URL: http://svn.apache.org/viewvc?view=rev&rev=509819
Log:
Make non-serialisable field transient
Modified:
jakarta/jmeter/branches/rel-2-2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
Modified: jakarta/jmeter/branches/rel-2-2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java?view=diff&rev=509819&r1=509818&r2=509819
==============================================================================
--- jakarta/jmeter/branches/rel-2-2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java (original)
+++ jakarta/jmeter/branches/rel-2-2/src/junit/org/apache/jmeter/protocol/java/sampler/JUnitSampler.java Tue Feb 20 15:59:03 2007
@@ -68,16 +68,16 @@
public static final String TEARDOWN = "tearDown";
public static final String RUNTEST = "run";
/// the Method objects for setUp and tearDown methods
- protected Method SETUP_METHOD = null;
- protected Method TDOWN_METHOD = null;
+ protected transient Method SETUP_METHOD = null;
+ protected transient Method TDOWN_METHOD = null;
protected boolean checkStartUpTearDown = false;
- protected TestCase TEST_INSTANCE = null;
+ protected transient TestCase TEST_INSTANCE = null;
/**
* Logging
*/
- private static transient Logger log = LoggingManager.getLoggerForClass();
+ private static final Logger log = LoggingManager.getLoggerForClass();
public JUnitSampler(){
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org