pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1651526 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java
Date Tue, 13 Jan 2015 22:36:55 GMT
Author: tilman
Date: Tue Jan 13 22:36:55 2015
New Revision: 1651526

URL: http://svn.apache.org/r1651526
Log:
PDFBOX-2576: set field private that isn't used anywhere else; fix javadoc typo

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java?rev=1651526&r1=1651525&r2=1651526&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java
Tue Jan 13 22:36:55 2015
@@ -58,7 +58,7 @@ public final class StandardSecurityHandl
     public static final Class<?> PROTECTION_POLICY_CLASS = StandardProtectionPolicy.class;
 
     /** Standard padding for encryption. */
-    public static final byte[] ENCRYPT_PADDING =
+    private static final byte[] ENCRYPT_PADDING =
     {
         (byte)0x28, (byte)0xBF, (byte)0x4E, (byte)0x5E, (byte)0x4E,
         (byte)0x75, (byte)0x8A, (byte)0x41, (byte)0x64, (byte)0x00,
@@ -101,7 +101,7 @@ public final class StandardSecurityHandl
      * regarding the encryption key length.
      * See PDF Spec 1.6 p 93
      *
-     * @return The computed cersion number.
+     * @return The computed version number.
      */
     private int computeVersionNumber()
     {



Mime
View raw message