From: Chris Jaekl Date: Sat, 3 Oct 2015 08:17:14 +0000 (+0900) Subject: Avoid deprecation warnings in ResultSetMock. X-Git-Url: https://jaekl.net/gitweb/?a=commitdiff_plain;h=71a1166c90a757e1faec9756563d35dbc367665b;p=cfb.git Avoid deprecation warnings in ResultSetMock. --- diff --git a/test/net/jaekl/cfb/db/ResultSetMock.java b/test/net/jaekl/cfb/db/ResultSetMock.java index 4592272..7200223 100644 --- a/test/net/jaekl/cfb/db/ResultSetMock.java +++ b/test/net/jaekl/cfb/db/ResultSetMock.java @@ -126,12 +126,14 @@ public class ResultSetMock implements ResultSet { return null; } + @Deprecated @Override public BigDecimal getBigDecimal(int arg0, int arg1) throws SQLException { // TODO Auto-generated method stub return null; } + @Deprecated @Override public BigDecimal getBigDecimal(String arg0, int arg1) throws SQLException { // TODO Auto-generated method stub @@ -543,12 +545,14 @@ public class ResultSetMock implements ResultSet { return null; } + @Deprecated @Override public InputStream getUnicodeStream(int arg0) throws SQLException { // TODO Auto-generated method stub return null; } + @Deprecated @Override public InputStream getUnicodeStream(String arg0) throws SQLException { // TODO Auto-generated method stub