commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1459953 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/GenerousBeanProcessorTest.java
Date Fri, 22 Mar 2013 19:46:20 GMT
Author: sebb
Date: Fri Mar 22 19:46:20 2013
New Revision: 1459953

URL: http://svn.apache.org/r1459953
Log:
Ignore boxing warnings in test code

Modified:
    commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/GenerousBeanProcessorTest.java

Modified: commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/GenerousBeanProcessorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/GenerousBeanProcessorTest.java?rev=1459953&r1=1459952&r2=1459953&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/GenerousBeanProcessorTest.java
(original)
+++ commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/GenerousBeanProcessorTest.java
Fri Mar 22 19:46:20 2013
@@ -44,6 +44,7 @@ public class GenerousBeanProcessorTest {
         propDescriptors[2] = new PropertyDescriptor("three", TestBean.class);
     }
 
+    @SuppressWarnings("boxing") // test code
     @Test
     public void testMapColumnsToPropertiesWithOutUnderscores() throws Exception {
         when(metaData.getColumnCount()).thenReturn(3);
@@ -62,6 +63,7 @@ public class GenerousBeanProcessorTest {
         assertEquals(1, ret[3]);
     }
     
+    @SuppressWarnings("boxing") // test code
     @Test
     public void testMapColumnsToPropertiesWithUnderscores() throws Exception {
         when(metaData.getColumnCount()).thenReturn(3);



Mime
View raw message