> On 15 Apr 2015, at 04:47, Simon Steiner <[email protected]> wrote: > > Hi, > > > > Why do you have classes where getCOSObject is public but getCOSDictionary > is not public?
Legacy quirk. There's actually no need for any of the getCOSDictionary() methods, as getCOSObject() can be overloaded in any COSObjectable subclass to have COSDictionary as its return type. It seems that the author of getCOSDictionary(), etc. was not aware of this feature of the Java type system. -- John > > Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
