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 wo...@apache.org on 2005/08/11 23:58:26 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler AccessLogSampler.java

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: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org