[
https://issues.apache.org/jira/browse/PDFBOX-4625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902258#comment-16902258
]
ASF subversion and git services commented on PDFBOX-4625:
---------------------------------------------------------
Commit 1864644 from Tilman Hausherr in branch 'pdfbox/branches/issue4569'
[ https://svn.apache.org/r1864644 ]
PDFBOX-4625: remove public when parameter class is package-private
> remove Netbeans warning: Exporting non-public type through public API
> ---------------------------------------------------------------------
>
> Key: PDFBOX-4625
> URL: https://issues.apache.org/jira/browse/PDFBOX-4625
> Project: PDFBox
> Issue Type: Task
> Components: FontBox
> Affects Versions: 2.0.16
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Labels: Netbeans
> Fix For: 2.0.17, 3.0.0 PDFBox
>
>
> Netbeans brings me the "Exporting non-public type through public API"
> warning, because in lines like
> {code}
> public void read(TrueTypeFont ttf, TTFDataStream data) throws IOException
> {code}
> the method is public despite that TTFDataStream is package-private. The
> solution would be to remove the "public". While the current situation brings
> no real harm, it bloats the javadoc and confuses the reader, as the method
> cannot be used from outside.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]