You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Adam Rauch <ad...@labkey.com> on 2012/05/21 00:52:35 UTC

Unconditional assert in SXSSF?

SXSSF looks terrific. great contribution.  However, I've run into a snag
converting our application to use it.  In POI 3.8, the first line of
SXSSFRow.getCell(int, MissingCellPolicy) is:

 

    assert false;

 

.which of course means the method can't be called if asserts are on.  Is
there a good reason for this assert?

 

Thanks,

Adam


Re: Unconditional assert in SXSSF?

Posted by Yegor Kozlov <ye...@dinom.ru>.
This particular assert means that SXSSFRow.getCell(int,
MissingCellPolicy)  is not yet covered by unit tests and *may* not be
compatible with XSSF.

This line will be removed in the future. Can you create a request in
POI Bugzilla so that we don't forget about it?

Yegor

On Mon, May 21, 2012 at 2:52 AM, Adam Rauch <ad...@labkey.com> wrote:
> SXSSF looks terrific. great contribution.  However, I've run into a snag
> converting our application to use it.  In POI 3.8, the first line of
> SXSSFRow.getCell(int, MissingCellPolicy) is:
>
>
>
>    assert false;
>
>
>
> .which of course means the method can't be called if asserts are on.  Is
> there a good reason for this assert?
>
>



>
> Thanks,
>
> Adam
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org