Browse Source

document null return value

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@675913 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 17 years ago
parent
commit
435c6e5511
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/main/org/apache/tools/ant/taskdefs/SQLExec.java

+ 3
- 0
src/main/org/apache/tools/ant/taskdefs/SQLExec.java View File

@@ -706,6 +706,9 @@ public class SQLExec extends JDBCTask {
* the base class would, should override this method but keep in * the base class would, should override this method but keep in
* mind that this class expects to get the same connection * mind that this class expects to get the same connection
* instance on consecutive calls.</p> * instance on consecutive calls.</p>
*
* <p>returns null if the connection does not connect to the
* expected RDBMS.</p>
*/ */
protected Connection getConnection() { protected Connection getConnection() {
if (conn == null) { if (conn == null) {


Loading…
Cancel
Save