pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1651720 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandlerFactory.java
Date Wed, 14 Jan 2015 16:26:10 GMT
Author: tilman
Date: Wed Jan 14 16:26:10 2015
New Revision: 1651720

URL: http://svn.apache.org/r1651720
Log:
PDFBOX-2576: make field final; remove "throws" of unchecked exception

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandlerFactory.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandlerFactory.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandlerFactory.java?rev=1651720&r1=1651719&r2=1651720&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandlerFactory.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SecurityHandlerFactory.java
Wed Jan 14 16:26:10 2015
@@ -37,7 +37,7 @@ import org.bouncycastle.jce.provider.Bou
 public final class SecurityHandlerFactory
 {
     /** Singleton instance */
-    public static SecurityHandlerFactory INSTANCE = new SecurityHandlerFactory();
+    public static final SecurityHandlerFactory INSTANCE = new SecurityHandlerFactory();
 
     static
     {
@@ -129,10 +129,9 @@ public final class SecurityHandlerFactor
      * @param argsClasses the parameter array.
      * @param args array of objects to be passed as arguments to the constructor call.
      * @return a new SecurityHandler instance, or null if none is available.
-     * @throws RuntimeException 
      */
     private SecurityHandler newSecurityHandler(Class<? extends SecurityHandler> handlerClass,

-            Class[] argsClasses, Object[] args) throws RuntimeException
+            Class[] argsClasses, Object[] args)
     {
         try
         {



Mime
View raw message