Project

General

Profile

Bug #41

ItqlInterpreterBean doesn't close subanswers

Added by ronald - almost 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
fixed

Description

[[ItqlInterpreterBean]] does not close subanswers due to an inverted logic bug
<br/>
in appendSolution():
<br/>

<br/>
&nbsp;&nbsp;if (tmpAnswer == null) {
<br/>
&nbsp;&nbsp;&nbsp;&nbsp;tmpAnswer.close();
<br/>
&nbsp;&nbsp;}
<br/>

<br/>
The attached patch fixes this and cleans up the code a little (the
<br/>
check is not needed and should therefore be removed, as all it does is
<br/>
create the opportunity for bugs).
#1

Updated by Paula Gearon almost 16 years ago

Patch applied and checked in.

Also available in: Atom PDF