You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/03/24 18:23:51 UTC

svn commit: r1888023 - /pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java

Author: tilman
Date: Wed Mar 24 18:23:51 2021
New Revision: 1888023

URL: http://svn.apache.org/viewvc?rev=1888023&view=rev
Log:
PDFBOX-4892: set inner class static + improve javadoc, as suggested by valerybokov

Modified:
    pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java?rev=1888023&r1=1888022&r2=1888023&view=diff
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java (original)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java Wed Mar 24 18:23:51 2021
@@ -1322,7 +1322,7 @@ public class PDFDebugger extends JFrame
     /**
      * Internal class to avoid double code in password entry loop.
      */
-    abstract class DocumentOpener
+    abstract static class DocumentOpener
     {
         String password;
 
@@ -1334,16 +1334,16 @@ public class PDFDebugger extends JFrame
         /**
          * Override to load the actual input type (File, URL, stream), don't call it directly!
          * 
-         * @return
-         * @throws IOException 
+         * @return the PDDocument instance
+         * @throws IOException Cannot read document
          */
         abstract PDDocument open() throws IOException;
 
         /**
          * Call this!
          * 
-         * @return
-         * @throws IOException 
+         * @return the PDDocument instance
+         * @throws IOException Cannot read document
          */
         final PDDocument parse() throws IOException 
         {