You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/07/17 14:43:18 UTC

svn commit: r1891610 - /pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/utils/COSUtils.java

Author: tilman
Date: Sat Jul 17 14:43:18 2021
New Revision: 1891610

URL: http://svn.apache.org/viewvc?rev=1891610&view=rev
Log:
PDFBOX-4892: fix javadoc

Modified:
    pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/utils/COSUtils.java

Modified: pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/utils/COSUtils.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/utils/COSUtils.java?rev=1891610&r1=1891609&r2=1891610&view=diff
==============================================================================
--- pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/utils/COSUtils.java (original)
+++ pdfbox/branches/1.8/preflight/src/main/java/org/apache/pdfbox/preflight/utils/COSUtils.java Sat Jul 17 14:43:18 2021
@@ -69,8 +69,9 @@ public class COSUtils
     }
 
     /**
-     * return true if the elt is a COSString or a reference to a COSString
-     * 
+     * return true if the element is a COSString or a COSName or a reference to a COSString or a
+     * COSName.
+     *
      * @param elt
      * @param doc
      * @return
@@ -251,9 +252,10 @@ public class COSUtils
     }
 
     /**
-     * Return the COSBase object as COSString if the COSBase object is an instance of COSString or a reference to a
-     * COSString object. In other cases, this method returns null;
-     * 
+     * Return the COSBase object as COSString if the COSBase object is an instance of COSString or a
+     * COSName or a reference to a COSString or a COSName object. In other cases, this method
+     * returns null.
+     *
      * @param cbase
      * @param cDoc
      * @return