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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]