pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1827330 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/Type5ShadingContext.java
Date Tue, 20 Mar 2018 15:49:56 GMT
Author: msahyoun
Date: Tue Mar 20 15:49:56 2018
New Revision: 1827330

URL: http://svn.apache.org/viewvc?rev=1827330&view=rev
Log:
PDFBOX-4071: add annotation to method for Sonar to handle warnings as EOFException is normal
for MemoryCacheImageInputStream

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/Type5ShadingContext.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/Type5ShadingContext.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/Type5ShadingContext.java?rev=1827330&r1=1827329&r2=1827330&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/Type5ShadingContext.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/Type5ShadingContext.java
Tue Mar 20 15:49:56 2018
@@ -64,6 +64,7 @@ class Type5ShadingContext extends Gourau
         createPixelTable(deviceBounds);
     }
 
+    @SuppressWarnings("squid:S1166")
     private List<ShadedTriangle> collectTriangles(PDShadingType5 latticeTriangleShadingType,
             AffineTransform xform, Matrix matrix) throws IOException
     {



Mime
View raw message