[Mulgara-svn] r169 - trunk/src/jar/itql/java/org/mulgara/itql
pag at mulgara.org
pag at mulgara.org
Tue Feb 13 06:10:15 UTC 2007
Author: pag
Date: 2007-02-13 00:10:14 -0600 (Tue, 13 Feb 2007)
New Revision: 169
Modified:
trunk/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java
Log:
Ronald's patch for closing answers during execute(String)
Modified: trunk/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java
===================================================================
--- trunk/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java 2007-02-11 19:19:20 UTC (rev 168)
+++ trunk/src/jar/itql/java/org/mulgara/itql/ItqlInterpreterBean.java 2007-02-13 06:10:14 UTC (rev 169)
@@ -917,17 +917,11 @@
if (object instanceof Answer) {
- Answer tmpAnswer = null;
+ Answer tmpAnswer = (Answer) object;
try {
-
- tmpAnswer = (Answer) object;
appendSolution(tmpAnswer, variable);
} finally {
-
- if (tmpAnswer == null) {
-
- tmpAnswer.close();
- }
+ tmpAnswer.close();
}
continue;
More information about the Mulgara-svn
mailing list