Author: tilman
Date: Sun Sep 13 09:23:06 2026
New Revision: 1938169
Log:
PDFBOX-5079: Sonar fix
Modified:
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Modified:
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
==============================================================================
---
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Sun Sep 13 08:30:39 2026 (r1938168)
+++
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/rendering/TestQuality.java
Sun Sep 13 09:23:06 2026 (r1938169)
@@ -154,8 +154,8 @@ public class TestQuality
PDDocument doc = PDDocument.load(file);
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;