Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4625

remove Netbeans warning: Exporting non-public type through public API

    XMLWordPrintableJSON

    Details

      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.

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: