pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1860490 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SaslPrep.java
Date Sat, 01 Jun 2019 19:12:25 GMT
Author: tilman
Date: Sat Jun  1 19:12:25 2019
New Revision: 1860490

URL: http://svn.apache.org/viewvc?rev=1860490&view=rev
Log:
PDFBOX-4155: remove call that is only supported on jdk7+

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SaslPrep.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SaslPrep.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SaslPrep.java?rev=1860490&r1=1860489&r2=1860490&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SaslPrep.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/SaslPrep.java
Sat Jun  1 19:12:25 2019
@@ -98,8 +98,8 @@ class SaslPrep
             // 3. Prohibit
             if (prohibited(codepoint))
             {
-                throw new IllegalArgumentException("Prohibited character '" +
-                        Character.getName(codepoint) + "' at position " + i);
+                throw new IllegalArgumentException("Prohibited character " +
+                        codepoint + " at position " + i);
             }
 
             // 4. Check bidi



Mime
View raw message