poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Micich <josh.mic...@gmail.com>
Subject Re: Deprecated method
Date Fri, 22 May 2009 07:18:59 GMT
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


Mime
View raw message