Skip to content

Commit

Permalink
PDFBOX-5892: Sonar fix
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1921721 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Oct 31, 2024
1 parent f832dfe commit 94f4441
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
Expand Down Expand Up @@ -893,7 +894,7 @@ else if (base instanceof COSDictionary)
if (obj instanceof PDStructureElement)
{
PDStructureNode parent = ((PDStructureElement) obj).getParent();
assertTrue(parent.getCOSObject() == kdict);
assertSame(parent.getCOSObject(), kdict);
}
}
return;
Expand Down

0 comments on commit 94f4441

Please sign in to comment.