pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1672907 - in /pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff: Type1CharStringParser.java Type2CharStringParser.java
Date Sat, 11 Apr 2015 17:44:35 GMT
Author: tilman
Date: Sat Apr 11 17:44:35 2015
New Revision: 1672907

URL: http://svn.apache.org/r1672907
Log:
PDFBOX-2576: revert "make methods static" changes due to lack of consensus

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type1CharStringParser.java
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type2CharStringParser.java

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type1CharStringParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type1CharStringParser.java?rev=1672907&r1=1672906&r2=1672907&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type1CharStringParser.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type1CharStringParser.java Sat
Apr 11 17:44:35 2015
@@ -186,7 +186,7 @@ public class Type1CharStringParser
         throw new IOException("Unexpected char string command: " + command.getKey());
     }
 
-    private static CharStringCommand readCommand(DataInput input, int b0) throws IOException
+    private CharStringCommand readCommand(DataInput input, int b0) throws IOException
     {
         if (b0 == 12)
         {
@@ -196,7 +196,7 @@ public class Type1CharStringParser
         return new CharStringCommand(b0);
     }
 
-    private static Integer readNumber(DataInput input, int b0) throws IOException
+    private Integer readNumber(DataInput input, int b0) throws IOException
     {
         if (b0 >= 32 && b0 <= 246)
         {

Modified: pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type2CharStringParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type2CharStringParser.java?rev=1672907&r1=1672906&r2=1672907&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type2CharStringParser.java (original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/cff/Type2CharStringParser.java Sat
Apr 11 17:44:35 2015
@@ -207,7 +207,7 @@ public class Type2CharStringParser
         return new CharStringCommand(b0);
     }
 
-    private static Integer readNumber(int b0, DataInput input) throws IOException
+    private Integer readNumber(int b0, DataInput input) throws IOException
     {
 
         if (b0 == 28)



Mime
View raw message