pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1684967 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/annotation/AnnotationValidator.java
Date Thu, 11 Jun 2015 19:54:43 GMT
Author: tilman
Date: Thu Jun 11 19:54:42 2015
New Revision: 1684967

URL: http://svn.apache.org/r1684967
Log:
PDFBOX-2576: make field that have accessors private; make field private that isn't used outside

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/annotation/AnnotationValidator.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/annotation/AnnotationValidator.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/annotation/AnnotationValidator.java?rev=1684967&r1=1684966&r2=1684967&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/annotation/AnnotationValidator.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/annotation/AnnotationValidator.java
Thu Jun 11 19:54:42 2015
@@ -51,10 +51,10 @@ import static org.apache.pdfbox.prefligh
 public abstract class AnnotationValidator
 {
 
-    protected AnnotationValidatorFactory annotFact = null;
+    private AnnotationValidatorFactory annotFact = null;
 
     protected PreflightContext ctx = null;
-    protected COSDocument cosDocument = null;
+    private COSDocument cosDocument = null;
     /**
      * COSDictionary of the annotation
      */
@@ -222,6 +222,7 @@ public abstract class AnnotationValidato
      * This method validates the Popup entry. This entry shall contain an other Annotation.
This annotation is validated
      * with the right AnnotationValidator.
      *
+     * @return true if the popup entry is valid, false if not.
      * @throws ValidationException
      */
     protected boolean checkPopup() throws ValidationException



Mime
View raw message