commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1457562 - in /commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2: GenerousBeanProcessorTest.java UpdateExecutorTest.java
Date Sun, 17 Mar 2013 20:55:18 GMT
Author: sebb
Date: Sun Mar 17 20:55:18 2013
New Revision: 1457562

URL: http://svn.apache.org/r1457562
Log:
Suppress boxing warnings for test code

Modified:
    commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/GenerousBeanProcessorTest.java
    commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/UpdateExecutorTest.java

Modified: commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/GenerousBeanProcessorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/GenerousBeanProcessorTest.java?rev=1457562&r1=1457561&r2=1457562&view=diff
==============================================================================
--- commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/GenerousBeanProcessorTest.java
(original)
+++ commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/GenerousBeanProcessorTest.java
Sun Mar 17 20:55:18 2013
@@ -29,6 +29,7 @@ import org.mockito.Mock;
 import org.mockito.MockitoAnnotations;
 
 
+@SuppressWarnings("boxing") // test code
 public class GenerousBeanProcessorTest {
     
     GenerousBeanProcessor processor = new GenerousBeanProcessor();

Modified: commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/UpdateExecutorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/UpdateExecutorTest.java?rev=1457562&r1=1457561&r2=1457562&view=diff
==============================================================================
--- commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/UpdateExecutorTest.java
(original)
+++ commons/proper/dbutils/branches/2_0/src/test/java/org/apache/commons/dbutils2/UpdateExecutorTest.java
Sun Mar 17 20:55:18 2013
@@ -39,6 +39,7 @@ public class UpdateExecutorTest {
     @Mock private Connection conn;
     @Mock private PreparedStatement stmt;
     
+    @SuppressWarnings("boxing") // test code
     @Before
     public void setup() throws SQLException {
         MockitoAnnotations.initMocks(this);



Mime
View raw message