valerybokov commented on PR #107: URL: https://github.com/apache/pdfbox/pull/107#issuecomment-1464946362
Hi, @THausherr! As I understand, java tries to find a method with the same parameter type or parental type. If you will put Object as parameter then java will use ContentStreamWriter.writeObject(Object) method. If you will put Operator type then java will use writeObject(Operator) method. This is a reason why I extracted writeObject(COSBase) method. I could extract writeObject(COSName) method because it uses inside a loop but, maybe, it will make code less readable. I found typo in FeatureTable.toString but i don't know can i change it to not break backward compatibility? I mean, can the string "lookupListIndiciesCount" be changed to "lookupListIndicesCount"? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org