You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2026/09/13 09:23:10 UTC
svn commit: r1938170 - pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/rendering
Author: tilman
Date: Sun Sep 13 09:23:10 2026
New Revision: 1938170
Log:
PDFBOX-5079: Sonar fix
Modified:
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java Sun Sep 13 09:23:06 2026 (r1938169)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java Sun Sep 13 09:23:10 2026 (r1938170)
@@ -184,8 +184,8 @@ class TestQuality
{
PDFRenderer renderer = new PDFRenderer(doc);
BufferedImage renderedImage = renderer.renderImageWithDPI(0, 100);
- // a pixel within the CalRGB image, whose own caption says "should appear red";
- // before the fix this was orange, same as the uncalibrated DeviceRGB image
+ // a pixel within the CalRGB image, whose own caption says "should appear red" was orange
+ // before the fix, same as the uncalibrated DeviceRGB image
int rgb = renderedImage.getRGB(170, 200);
int red = (rgb >> 16) & 0xFF;
int green = (rgb >> 8) & 0xFF;