pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1813432 - /pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/SigUtils.java
Date Thu, 26 Oct 2017 17:14:36 GMT
Author: tilman
Date: Thu Oct 26 17:14:36 2017
New Revision: 1813432

URL: http://svn.apache.org/viewvc?rev=1813432&view=rev
Log:
PDFBOX-1848: Sonar fix

Modified:
    pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/SigUtils.java

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/SigUtils.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/SigUtils.java?rev=1813432&r1=1813431&r2=1813432&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/SigUtils.java
(original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/SigUtils.java
Thu Oct 26 17:14:36 2017
@@ -44,7 +44,7 @@ public class SigUtils
      * return values are 1, 2 or 3. 2 is also returned if the DocMDP transform parameters
dictionary
      * is found but did not contain a /P entry, or if the value is outside the valid range.
      */
-    static public int getMDPPermission(PDDocument doc)
+    public static int getMDPPermission(PDDocument doc)
     {
         COSBase base = doc.getDocumentCatalog().getCOSObject().getDictionaryObject(COSName.PERMS);
         if (base instanceof COSDictionary)



Mime
View raw message