Author: tilman
Date: Sun Sep 13 09:23:13 2026
New Revision: 1938171
Log:
PDFBOX-5079: Sonar fix
Modified:
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Modified:
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Sun Sep 13 09:23:10 2026 (r1938170)
+++
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Sun Sep 13 09:23:13 2026 (r1938171)
@@ -185,8 +185,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;