Author: tilman
Date: Wed Sep 9 18:31:46 2026
New Revision: 1938052
Log:
PDFBOX-6251: Sonar fix
Modified:
pdfbox/branches/3.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
Modified:
pdfbox/branches/3.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
==============================================================================
---
pdfbox/branches/3.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
Wed Sep 9 18:31:43 2026 (r1938051)
+++
pdfbox/branches/3.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
Wed Sep 9 18:31:46 2026 (r1938052)
@@ -364,7 +364,7 @@ class TestCMapParser
* write into one: adding a mapping to the importing CMap must not reach
back into the used one.
*/
@Test
- void testUseCmapDoesNotShareMappingsWithTheUsedCMap() throws IOException
+ void testUseCmapDoesNotShareMappingsWithTheUsedCMap()
{
CMap used = new CMap();
used.addCIDMapping(new byte[] { 0x41 }, 100);
@@ -390,7 +390,7 @@ class TestCMapParser
* two that way round, hence the hand built pair here.
*/
@Test
- void testUseCmapOwnRangeBeatsInheritedChar() throws IOException
+ void testUseCmapOwnRangeBeatsInheritedChar()
{
CMap used = new CMap();
used.addCIDMapping(new byte[] { 0x41 }, 100);