You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Rafael de Carvalho <ra...@aditusbr.com> on 2016/10/25 16:10:34 UTC

Deprecated cell.getCellTypeEnum() and cell.getCellType()

Hi,

Yesterday I've downloaded the last version of POI, 3.15.
In our projects until now, we used POI 3.9 before the upgrade.

While refactoring old classes that uses POI I've noticed that both methods
cell.getCellType() and getCellTypeEnum() are deprecated.

I saw that there's a solution for it on this bug:
https://bz.apache.org/bugzilla/show_bug.cgi?id=60228, but apparently theses
changes are not in release.

How to proceed in this case?

best regards,

-- 



Rafael de Carvalho


tel + 55 11 3707-9018
Av. Tamboré, 267 - 13º andar - Torre Norte - Sala 2
Alphaville - Barueri - SP
CEP 06460-000
http://www.aditusbr.com/

*A informação transmitida destina-se apenas à pessoa a quem foi endereçada
e pode conter informação confidencial, legalmente protegida e para
conhecimento exclusivo do destinatário. Se o leitor desta advertência não
for o seu destinatário, fica ciente de que sua leitura, divulgação,
distribuição ou cópia é estritamente proibida. Caso a mensagem tenha sido
recebida por engano, é favor comunicar ao remetente e apagar o texto do
computador.*

Re: Deprecated cell.getCellTypeEnum() and cell.getCellType()

Posted by Javen O'Neal <on...@apache.org>.
Any of the following will work:
1) Use 3.15 and ignore the deprecation
2) Download 3.15 source, remove the deprecation warnings on
getCellTypeEnum, compile, and use that fork
3) Use a trunk build
https://builds.apache.org/job/POI/lastSuccessfulBuild/artifact/
4) Wait for 3.16 beta 1 release or 3.16 final

I'm sorry for the double-deprecation.

On Oct 25, 2016 9:15 AM, "Rafael de Carvalho" <ra...@aditusbr.com>
wrote:

> Hi,
>
> Yesterday I've downloaded the last version of POI, 3.15.
> In our projects until now, we used POI 3.9 before the upgrade.
>
> While refactoring old classes that uses POI I've noticed that both methods
> cell.getCellType() and getCellTypeEnum() are deprecated.
>
> I saw that there's a solution for it on this bug: https://bz.apache.org/
> bugzilla/show_bug.cgi?id=60228, but apparently theses changes are not in
> release.
>
> How to proceed in this case?
>
> best regards,
>
> --
>
>
>
> Rafael de Carvalho
>
>
> tel + 55 11 3707-9018
> Av. Tamboré, 267 - 13º andar - Torre Norte - Sala 2
> Alphaville - Barueri - SP
> CEP 06460-000
> http://www.aditusbr.com/
>
> *A informação transmitida destina-se apenas à pessoa a quem foi endereçada
> e pode conter informação confidencial, legalmente protegida e para
> conhecimento exclusivo do destinatário. Se o leitor desta advertência não
> for o seu destinatário, fica ciente de que sua leitura, divulgação,
> distribuição ou cópia é estritamente proibida. Caso a mensagem tenha sido
> recebida por engano, é favor comunicar ao remetente e apagar o texto do
> computador.*
>