Author: tilman
Date: Wed Sep 9 18:31:50 2026
New Revision: 1938053
Log:
PDFBOX-6251: Sonar fix
Modified:
pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
Modified:
pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
==============================================================================
---
pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
Wed Sep 9 18:31:46 2026 (r1938052)
+++
pdfbox/branches/2.0/fontbox/src/test/java/org/apache/fontbox/cmap/TestCMapParser.java
Wed Sep 9 18:31:50 2026 (r1938053)
@@ -301,10 +301,8 @@ public class TestCMapParser extends Test
/**
* A CMap holds on to the CMaps it uses rather than copying their
mappings, so it must never
* write into one: adding a mapping to the importing CMap must not reach
back into the used one.
- *
- * @throws java.io.IOException
*/
- public void testUseCmapDoesNotShareMappingsWithTheUsedCMap() throws
IOException
+ public void testUseCmapDoesNotShareMappingsWithTheUsedCMap()
{
CMap used = new CMap();
used.addCIDMapping(100, 0x41);