You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/07/09 14:26:25 UTC
(commons-dbutils) 13/24: Use final
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git
commit 1b5fca914b38522a09c42c3ffb5981fb34855cca
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 9 10:23:26 2024 -0400
Use final
---
.../apache/commons/dbutils/handlers/columns/ByteColumnHandlerTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/ByteColumnHandlerTest.java b/src/test/java/org/apache/commons/dbutils/handlers/columns/ByteColumnHandlerTest.java
index 155ad68..78f40cb 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/ByteColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/ByteColumnHandlerTest.java
@@ -35,7 +35,7 @@ public class ByteColumnHandlerTest extends AbstractTestColumnHandler<Byte> {
@Override
@Test
public void testApplyType() throws Exception {
- ResultSet rs = getResultSet();
+ final ResultSet rs = getResultSet();
when(rs.getByte(1)).thenReturn(Byte.MIN_VALUE);
assertEquals(Byte.class, getColumnHandler().apply(rs, 1).getClass());
}