Permalink
Browse files

style: add MissingDeprecated into checkstyle (#1019)

  • Loading branch information...
AlexElin authored and vlsi committed Nov 27, 2017
1 parent 4139248 commit d74386def0d39f450f5dcfdb21ff6171ba0a89f3
@@ -91,6 +91,7 @@
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
<module name="OneStatementPerLine"/>
<module name="MissingDeprecated"/>
<module name="MultipleVariableDeclarations"/>
<module name="ArrayTypeStyle"/>
<!--<module name="MissingSwitchDefault"/>-->
@@ -83,6 +83,7 @@
* does not work correctly for registering classes that cannot be directly loaded by
* the JDBC driver's classloader.
*/
@Deprecated
void addDataType(String type, String className);

/**
@@ -12,12 +12,14 @@
* code should call getString() on the ResultSet that contains the refcursor to obtain
* the underlying cursor name.
*/
@Deprecated
public interface PGRefCursorResultSet {

/**
* @return the name of the cursor.
* @deprecated As of 8.0, replaced with calling getString() on the ResultSet that this ResultSet
* was obtained from.
*/
@Deprecated
String getRefCursor();
}
@@ -43,6 +43,7 @@
* @since 7.3
* @deprecated As of build 302, replaced by {@link #setPrepareThreshold(int)}
*/
@Deprecated
void setUseServerPrepare(boolean flag) throws SQLException;

/**
@@ -141,6 +141,7 @@ public LargeObject copy() throws SQLException {
* @return the OID of this LargeObject
* @deprecated As of 8.3, replaced by {@link #getLongOID()}
*/
@Deprecated
public int getOID() {
return (int) oid;
}

0 comments on commit d74386d

Please sign in to comment.