THausherr commented on PR #230:
URL: https://github.com/apache/pdfbox/pull/230#issuecomment-3239427475

   It's more complex. What you mean is that when having the same method in the 
derived class, this isn't real overriding, it's just a method with the same 
signature. I tested this by adding this method
   ```
       public static ImageReader findImageReader(String formatName, String 
errorCause)
               throws MissingImageReaderException
       {
           return null;
       }
   ```
   in LZWFilter.java. Without the change, my IDE shows an error. With the 
change, the error goes away. So the "final" does have the intended effect, 
preventing users of adding these two methods in a derived class.


-- 
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

Reply via email to