Bug #41
ItqlInterpreterBean doesn't close subanswers
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/>
if (tmpAnswer == null) {
<br/>
tmpAnswer.close();
<br/>
}
<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).