commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-dbutils git commit: Add missing '@Override' annotations.
Date Sun, 09 Jul 2017 00:46:56 GMT
Repository: commons-dbutils
Updated Branches:
  refs/heads/master a5711f169 -> 472b3d9c3


Add missing '@Override' annotations.

Project: http://git-wip-us.apache.org/repos/asf/commons-dbutils/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-dbutils/commit/472b3d9c
Tree: http://git-wip-us.apache.org/repos/asf/commons-dbutils/tree/472b3d9c
Diff: http://git-wip-us.apache.org/repos/asf/commons-dbutils/diff/472b3d9c

Branch: refs/heads/master
Commit: 472b3d9c38a2dbce775a585d0b6ba2c92b7f1c06
Parents: a5711f1
Author: Gary Gregory <garydgregory@gmail.com>
Authored: Sat Jul 8 17:46:54 2017 -0700
Committer: Gary Gregory <garydgregory@gmail.com>
Committed: Sat Jul 8 17:46:54 2017 -0700

----------------------------------------------------------------------
 .../commons/dbutils/handlers/columns/BooleanColumnHandlerTest.java | 1 +
 .../commons/dbutils/handlers/columns/ByteColumnHandlerTest.java    | 1 +
 .../commons/dbutils/handlers/columns/DoubleColumnHandlerTest.java  | 1 +
 .../commons/dbutils/handlers/columns/FloatColumnHandlerTest.java   | 1 +
 .../commons/dbutils/handlers/columns/IntegerColumnHandlerTest.java | 2 ++
 .../commons/dbutils/handlers/columns/LongColumnHandlerTest.java    | 1 +
 .../commons/dbutils/handlers/columns/SQLXMLColumnHandlerTest.java  | 1 +
 .../commons/dbutils/handlers/columns/ShortColumnHandlerTest.java   | 1 +
 .../commons/dbutils/handlers/columns/StringColumnHandlerTest.java  | 1 +
 .../dbutils/handlers/columns/TimestampColumnHandlerTest.java       | 1 +
 10 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/BooleanColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/BooleanColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/BooleanColumnHandlerTest.java
index d9e49fd..d2ea31b 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/BooleanColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/BooleanColumnHandlerTest.java
@@ -29,6 +29,7 @@ public class BooleanColumnHandlerTest extends ColumnHandlerTestBase {
         super(new BooleanColumnHandler(), Boolean.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getBoolean(1)).thenReturn(Boolean.TRUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/ByteColumnHandlerTest.java
----------------------------------------------------------------------
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 23d38bc..6bd82a7 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
@@ -29,6 +29,7 @@ public class ByteColumnHandlerTest extends ColumnHandlerTestBase {
         super(new ByteColumnHandler(), Byte.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getByte(1)).thenReturn(Byte.MIN_VALUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/DoubleColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/DoubleColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/DoubleColumnHandlerTest.java
index b6dbf38..77fa1e8 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/DoubleColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/DoubleColumnHandlerTest.java
@@ -29,6 +29,7 @@ public class DoubleColumnHandlerTest extends ColumnHandlerTestBase {
         super(new DoubleColumnHandler(), Double.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getDouble(1)).thenReturn(Double.MIN_VALUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/FloatColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/FloatColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/FloatColumnHandlerTest.java
index b1dfc33..f1c73e7 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/FloatColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/FloatColumnHandlerTest.java
@@ -29,6 +29,7 @@ public class FloatColumnHandlerTest extends ColumnHandlerTestBase {
         super(new FloatColumnHandler(), Float.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getFloat(1)).thenReturn(Float.MIN_VALUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/IntegerColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/IntegerColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/IntegerColumnHandlerTest.java
index c75893a..843fbf3 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/IntegerColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/IntegerColumnHandlerTest.java
@@ -30,11 +30,13 @@ public class IntegerColumnHandlerTest extends ColumnHandlerTestBase {
         super(new IntegerColumnHandler(), Integer.class);
     }
 
+    @Override
     @Test
     public void testMatchNegative() {
         assertFalse(handler.match(Float.class));
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getInt(1)).thenReturn(Integer.MIN_VALUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/LongColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/LongColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/LongColumnHandlerTest.java
index 0c96bdc..16638a1 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/LongColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/LongColumnHandlerTest.java
@@ -29,6 +29,7 @@ public class LongColumnHandlerTest extends ColumnHandlerTestBase {
         super(new LongColumnHandler(), Long.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getLong(1)).thenReturn(Long.MIN_VALUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/SQLXMLColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/SQLXMLColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/SQLXMLColumnHandlerTest.java
index 629f863..8fbb9a2 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/SQLXMLColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/SQLXMLColumnHandlerTest.java
@@ -35,6 +35,7 @@ public class SQLXMLColumnHandlerTest extends ColumnHandlerTestBase {
         super(new SQLXMLColumnHandler(), SQLXML.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getSQLXML(1)).thenReturn(sqlxml);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/ShortColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/ShortColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/ShortColumnHandlerTest.java
index 71d8020..0f2ff72 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/ShortColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/ShortColumnHandlerTest.java
@@ -29,6 +29,7 @@ public class ShortColumnHandlerTest extends ColumnHandlerTestBase {
         super(new ShortColumnHandler(), Short.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getShort(1)).thenReturn(Short.MIN_VALUE);

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/StringColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/StringColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/StringColumnHandlerTest.java
index 36aea31..300cbfe 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/StringColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/StringColumnHandlerTest.java
@@ -29,6 +29,7 @@ public class StringColumnHandlerTest extends ColumnHandlerTestBase {
         super(new StringColumnHandler(), String.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getString(1)).thenReturn("tester");

http://git-wip-us.apache.org/repos/asf/commons-dbutils/blob/472b3d9c/src/test/java/org/apache/commons/dbutils/handlers/columns/TimestampColumnHandlerTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/dbutils/handlers/columns/TimestampColumnHandlerTest.java
b/src/test/java/org/apache/commons/dbutils/handlers/columns/TimestampColumnHandlerTest.java
index b8d19e0..531536a 100644
--- a/src/test/java/org/apache/commons/dbutils/handlers/columns/TimestampColumnHandlerTest.java
+++ b/src/test/java/org/apache/commons/dbutils/handlers/columns/TimestampColumnHandlerTest.java
@@ -32,6 +32,7 @@ public class TimestampColumnHandlerTest extends ColumnHandlerTestBase {
         super(new TimestampColumnHandler(), Timestamp.class);
     }
 
+    @Override
     @Test
     public void testApplyType() throws Exception {
         when(rs.getTimestamp(1)).thenReturn(new Timestamp(new Date().getTime()));


Mime
View raw message