Dear Colleagues, I've started looking at some of the base classes of PDFBox while refreshing my understanding of the different APIs.
In org.apache.pdfbox.cos whe have classes which represent the PDF base objects. Some of the 'primitive' types such as COSNull, COSBoolean ... are immutable where COSFloat and COSString are mutable. Wouldn't it make sense to have COSFloat and COSString also immutable? E.g. why should COSInteger be immutable where COSFloat isn't? Thoughts? I know that this might affect many areas and isn't without risks but would IMHO make the implementation cleaner and more transparent. It would also help as a foundation for thread safety. We could change that in trunk if that's something to be changed. BR Maruan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
