jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1227023 - /jmeter/trunk/test/src/org/apache/jmeter/functions/PackageTest.java
Date Wed, 04 Jan 2012 01:53:54 GMT
Author: sebb
Date: Wed Jan  4 01:53:54 2012
New Revision: 1227023

URL: http://svn.apache.org/viewvc?rev=1227023&view=rev
Log:
Unused assignment (Findbugs)

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/functions/PackageTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/functions/PackageTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/functions/PackageTest.java?rev=1227023&r1=1227022&r2=1227023&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/functions/PackageTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/functions/PackageTest.java Wed Jan  4 01:53:54
2012
@@ -229,19 +229,19 @@ public class PackageTest extends JMeterT
 
     public void BSH1() throws Exception {
         String fn = "testfiles/BeanShellTest.bsh";
-        BeanShell bsh;
         try {
-            bsh = BSHFParams(null, null, null);
+            BSHFParams(null, null, null);
             fail("Expected InvalidVariableException");
         } catch (InvalidVariableException e) {
         }
 
         try {
-            bsh = BSHFParams("", "", "");
+            BSHFParams("", "", "");
             fail("Expected InvalidVariableException");
         } catch (InvalidVariableException e) {
         }
 
+        BeanShell bsh;
         try {
             bsh = BSHFParams("", "", null);
             assertEquals("", bsh.execute());



Mime
View raw message