woolfel     2005/08/11 14:58:26

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        AccessLogSampler.java
  Log:
  fixed a bug found by Ronald Garret. clone() method needs to instantiate the 
parser.
  peter
  
  Revision  Changes    Path
  1.22      +3 -2      
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AccessLogSampler.java
  
  Index: AccessLogSampler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AccessLogSampler.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- AccessLogSampler.java     12 Jul 2005 20:50:57 -0000      1.21
  +++ AccessLogSampler.java     11 Aug 2005 21:58:26 -0000      1.22
  @@ -295,6 +295,7 @@
                                        if 
(TestCloneable.class.isAssignableFrom(Class.forName(filterClassName))) {
                                                initFilter();
                                                s.filter = (Filter) 
((TestCloneable) filter).clone();
  +                        instantiateParser();
                                        }
                                } catch (Exception e) {
                                        log.warn("Could not clone cloneable 
filter", e);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to