Return-Path:
Delivered-To: apmail-ant-notifications-archive@locus.apache.org
Received: (qmail 98199 invoked from network); 11 Jul 2008 10:44:04 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2)
by minotaur.apache.org with SMTP; 11 Jul 2008 10:44:04 -0000
Received: (qmail 58610 invoked by uid 500); 11 Jul 2008 10:44:04 -0000
Delivered-To: apmail-ant-notifications-archive@ant.apache.org
Received: (qmail 58581 invoked by uid 500); 11 Jul 2008 10:44:04 -0000
Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Help:
List-Unsubscribe:
List-Post:
List-Id:
Reply-To: dev@ant.apache.org
Delivered-To: mailing list notifications@ant.apache.org
Received: (qmail 58572 invoked by uid 99); 11 Jul 2008 10:44:04 -0000
Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 03:44:04 -0700
X-ASF-Spam-Status: No, hits=-2000.0 required=10.0
tests=ALL_TRUSTED
X-Spam-Check-By: apache.org
Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4)
by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 10:43:20 +0000
Received: by eris.apache.org (Postfix, from userid 65534)
id 8E8EA2388A0C; Fri, 11 Jul 2008 03:43:13 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: svn commit: r675913 -
/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/SQLExec.java
Date: Fri, 11 Jul 2008 10:43:13 -0000
To: notifications@ant.apache.org
From: bodewig@apache.org
X-Mailer: svnmailer-1.0.8
Message-Id: <20080711104313.8E8EA2388A0C@eris.apache.org>
X-Virus-Checked: Checked by ClamAV on apache.org
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.
+ *
+ * returns null if the connection does not connect to the
+ * expected RDBMS.
*/
protected Connection getConnection() {
if (conn == null) {