pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1759335 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
Date Mon, 05 Sep 2016 17:12:12 GMT
Author: tilman
Date: Mon Sep  5 17:12:11 2016
New Revision: 1759335

URL: http://svn.apache.org/viewvc?rev=1759335&view=rev
Log:
PDFBOX-3481: adjust for JDK5

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java?rev=1759335&r1=1759334&r2=1759335&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java Mon
Sep  5 17:12:11 2016
@@ -156,12 +156,12 @@ public class COSWriter implements ICOSVi
     public static final byte[] ENDSTREAM = StringUtil.getBytes("endstream");
 
     private NumberFormat formatXrefOffset = new DecimalFormat("0000000000",
-            DecimalFormatSymbols.getInstance(Locale.US));
+            new DecimalFormatSymbols(Locale.US));
     /**
      * The decimal format for the xref object generation number data.
      */
     private NumberFormat formatXrefGeneration = new DecimalFormat("00000",
-            DecimalFormatSymbols.getInstance(Locale.US));
+            new DecimalFormatSymbols(Locale.US));
 
     private NumberFormat formatDecimal = NumberFormat.getNumberInstance( Locale.US );
 



Mime
View raw message