Skip to content

Commit

Permalink
isClosed
Browse files Browse the repository at this point in the history
  • Loading branch information
bingoohuang committed Mar 25, 2018
1 parent 313d72b commit f35aee0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,8 @@ private static Connection getClosedConnection() {
return Void.TYPE;
} else if ("isValid".equals(methodName)) {
return Boolean.FALSE;
} else if ("isClosed".equals(methodName)) {
return Boolean.TRUE;
} else if ("toString".equals(methodName)) {
return ClosedConnection.class.getCanonicalName();
}
Expand Down

0 comments on commit f35aee0

Please sign in to comment.