ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r675913 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
Date Fri, 11 Jul 2008 10:43:13 GMT
Author: bodewig
Date: Fri Jul 11 03:43:13 2008
New Revision: 675913

URL: http://svn.apache.org/viewvc?rev=675913&view=rev
Log:
document null return value

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java?rev=675913&r1=675912&r2=675913&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java Fri Jul 11 03:43:13
2008
@@ -706,6 +706,9 @@
      * the base class would, should override this method but keep in
      * mind that this class expects to get the same connection
      * instance on consecutive calls.</p>
+     *
+     * <p>returns null if the connection does not connect to the
+     * expected RDBMS.</p>
      */
     protected Connection getConnection() {
         if (conn == null) {



Mime
View raw message