[
https://issues.apache.org/jira/browse/PDFBOX-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1558.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.1
Assignee: Andreas Lehmkühler
We should have thought about that confusion before releasing 1.8.0, but
unfortunately we didn't. :-(
I set the class to deprecated. Whenever the constructor is called an exception
is thrown, so that possible tests would fail. This is not a smart solution, but
it might ease the confusion. I added the fix in revision 1465360.
> Unused PDSignature class should be removed
> ------------------------------------------
>
> Key: PDFBOX-1558
> URL: https://issues.apache.org/jira/browse/PDFBOX-1558
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.0
> Reporter: Chuck Houpt
> Assignee: Andreas Lehmkühler
> Priority: Minor
> Fix For: 1.8.1
>
>
> In 1.8.0, the uses of class
> org.apache.pdfbox.pdmodel.interactive.form.PDSignature have been replace with
> ....form.PFSignatureField, but the old ...form.PDSignature class still exists.
> This can be confusing when upgrading to PDFBox 1.8.0 -- code that tests for
> the presence of PDSignature instances will compile, but fail to work
> correctly. Removing the old PDSignature will give upgraders a more helpful
> compilation error.
> The old ...form.PDSignature class should be removed or the new
> ...form.PDSignatureField should be renamed to completely replace it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira