Skip to content

Commit 26f4fbb

Browse files
committed
PDFBOX-5660: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1935115 13f79535-47bb-0310-9956-ffa450edef68
1 parent d336aa0 commit 26f4fbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDAppearanceContentStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public void setLineWidthOnDemand(float lineWidth) throws IOException
241241
// Acrobat doesn't write a line width command
242242
// for a line width of 1 as this is default.
243243
// Will do the same.
244-
if (!(Math.abs(lineWidth - 1) < 1e-6))
244+
if (Math.abs(lineWidth - 1) >= 1e-6)
245245
{
246246
setLineWidth(lineWidth);
247247
}

0 commit comments

Comments
 (0)