[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/loader ...
Elias Ross
genman at noderunner.net
Mon Nov 6 18:34:09 EST 2006
User: genman
Date: 06/11/06 18:34:09
Modified: tests/functional/org/jboss/cache/loader
BdbjeCacheLoaderTest.java JdbmCacheLoaderTest.java
Log:
Fix potential NPE found using static analysis, clean up unused variables, use Integer.valueOf() as an optimization
Revision Changes Path
1.18 +1 -2 JBossCache/tests/functional/org/jboss/cache/loader/BdbjeCacheLoaderTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: BdbjeCacheLoaderTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/BdbjeCacheLoaderTest.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- BdbjeCacheLoaderTest.java 25 Oct 2006 04:50:19 -0000 1.17
+++ BdbjeCacheLoaderTest.java 6 Nov 2006 23:34:09 -0000 1.18
@@ -9,11 +9,10 @@
/**
* Runs the same tests as {@link FileCacheLoaderTest}, but with Berkeley DB instead of a file-based CacheLoader
* @author Bela Ban
- * @version $Id: BdbjeCacheLoaderTest.java,v 1.17 2006/10/25 04:50:19 bstansberry Exp $
+ * @version $Id: BdbjeCacheLoaderTest.java,v 1.18 2006/11/06 23:34:09 genman Exp $
*/
public class BdbjeCacheLoaderTest extends CacheLoaderTestsBase {
- private int counter = 0;
private String tmp_location = System.getProperty("java.io.tmpdir", "c:\\tmp");
private File dir = new File(tmp_location);
1.6 +1 -2 JBossCache/tests/functional/org/jboss/cache/loader/JdbmCacheLoaderTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: JdbmCacheLoaderTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/loader/JdbmCacheLoaderTest.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- JdbmCacheLoaderTest.java 25 Oct 2006 04:50:19 -0000 1.5
+++ JdbmCacheLoaderTest.java 6 Nov 2006 23:34:09 -0000 1.6
@@ -10,12 +10,11 @@
* Tests {@link org.jboss.cache.loader.jdbm.JdbmCacheLoader}.
*
* @author Elias Ross
- * @version $Id: JdbmCacheLoaderTest.java,v 1.5 2006/10/25 04:50:19 bstansberry Exp $
+ * @version $Id: JdbmCacheLoaderTest.java,v 1.6 2006/11/06 23:34:09 genman Exp $
*/
public class JdbmCacheLoaderTest extends CacheLoaderTestsBase
{
- private int counter = 0;
private String tmp_location = System.getProperty("java.io.tmpdir", "/tmp");
private File dir = new File(tmp_location);
More information about the jboss-cvs-commits
mailing list