Author: tilman
Date: Fri Feb 23 17:28:03 2018
New Revision: 1825141

URL: http://svn.apache.org/viewvc?rev=1825141&view=rev
Log:
PDFBOX-4117: check for /P and /C (was a typo)

Modified:
    
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDTargetDirectory.java

Modified: 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDTargetDirectory.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDTargetDirectory.java?rev=1825141&r1=1825140&r2=1825141&view=diff
==============================================================================
--- 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDTargetDirectory.java
 (original)
+++ 
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/action/PDTargetDirectory.java
 Fri Feb 23 17:28:03 2018
@@ -90,7 +90,7 @@ public class PDTargetDirectory implement
      */
     public void setRelationship(COSName relationship)
     {
-        if (!COSName.P.equals(relationship) && !COSName.P.equals(relationship))
+        if (!COSName.P.equals(relationship) && !COSName.C.equals(relationship))
         {
             throw new IllegalArgumentException("The only valid are P or C, not 
" + relationship.getName());
         }


Reply via email to