Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.16
Description
Netbeans brings me the "Exporting non-public type through public API" warning, because in lines like
public void read(TrueTypeFont ttf, TTFDataStream data) throws IOException
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.