sebb        2005/04/28 17:04:33

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        AccessLogSamplerBeanInfo.java
  Log:
  Remove unnecessary cast
  
  Revision  Changes    Path
  1.2       +2 -2      
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.java
  
  Index: AccessLogSamplerBeanInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/AccessLogSamplerBeanInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AccessLogSamplerBeanInfo.java     28 May 2004 21:09:13 -0000      1.1
  +++ AccessLogSamplerBeanInfo.java     29 Apr 2005 00:04:33 -0000      1.2
  @@ -50,7 +50,7 @@
            p.setValue(NOT_EXPRESSION,Boolean.TRUE);
            log.info("found parsers: " 
+ClassFinder.findClassesThatExtend(JMeterUtils.getSearchPaths(),new 
Class[]{LogParser.class}));
            p.setValue(TAGS,
  -               
(String[])ClassFinder.findClassesThatExtend(JMeterUtils.getSearchPaths(),
  +               
ClassFinder.findClassesThatExtend(JMeterUtils.getSearchPaths(),
                        new Class[]{LogParser.class}).toArray(new String[0]));
            
            p = property("filterClassName");
  @@ -58,7 +58,7 @@
            p.setValue(DEFAULT,"");
            p.setValue(NOT_EXPRESSION,Boolean.TRUE);
            p.setValue(TAGS,
  -               
(String[])ClassFinder.findClassesThatExtend(JMeterUtils.getSearchPaths(),
  +               
ClassFinder.findClassesThatExtend(JMeterUtils.getSearchPaths(),
                        new Class[]{Filter.class},false).toArray(new 
String[0]));
         
         p = property("logFile");
  
  
  

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

Reply via email to