pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1824992 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalGray.java
Date Wed, 21 Feb 2018 18:29:16 GMT
Author: tilman
Date: Wed Feb 21 18:29:16 2018
New Revision: 1824992

URL: http://svn.apache.org/viewvc?rev=1824992&view=rev
Log:
PDFBOX-4119: remove jdk7 diamon operator

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalGray.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalGray.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalGray.java?rev=1824992&r1=1824991&r2=1824992&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalGray.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/color/PDCalGray.java
Wed Feb 21 18:29:16 2018
@@ -37,7 +37,7 @@ public final class PDCalGray extends PDC
     // PDFBOX-4119: cache the results for much improved performance
     // cached values MUST be cloned, because they are modified by the caller.
     // this can be observed in rendering of PDFBOX-1724
-    private final Map<Float, float[]> map1 = new HashMap<>();
+    private final Map<Float, float[]> map1 = new HashMap<Float, float[]>();
 
     /**
      * Create a new CalGray color space.



Mime
View raw message