[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    Re: Deprecated method
From:       Josh Micich <josh.micich () gmail ! com>
Date:       2009-05-22 7:18:59
Message-ID: a644352c0905220018l3383b137qe377757bfebce54a () mail ! gmail ! com
[Download RAW message or body]

NoSuchMethodError has nothing to do with @deprecated.

There has been another change besides the deprecation. You have some
code compiled to call:
 org.apache.poi.hssf.usermodel.HSSFSheet.addMergedRegion(Lorg/apache/poi/hssf/util/Region;)
but the method signature has changed to:
 org.apache.poi.hssf.usermodel.HSSFSheet.addMergedRegion(Lorg/apache/poi/ss/util/Region;)

This is a source-compatible change.  All you need to do is recompile
the source code.

However, you should address the deprecation problem soon because the
old method will not be supported much longer.  The new method is
addMergedRegion(CellRangeAddress).

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic