Skip to content

Commit 3c707b6

Browse files
committed
PDFBOX-6105: remove logging
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929998 13f79535-47bb-0310-9956-ffa450edef68
1 parent 162cb89 commit 3c707b6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

fontbox/src/main/java/org/apache/fontbox/ttf/MaximumProfileTable.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
import java.io.IOException;
2020

21-
import org.apache.logging.log4j.LogManager;
22-
import org.apache.logging.log4j.Logger;
2321

2422
/**
2523
* This 'maxp'-table is a required table in a TrueType font.
@@ -28,8 +26,6 @@
2826
*/
2927
public class MaximumProfileTable extends TTFTable
3028
{
31-
private static final Logger LOG = LogManager.getLogger(MaximumProfileTable.class);
32-
3329
/**
3430
* A tag that identifies this table type.
3531
*/
@@ -295,7 +291,7 @@ void read(TrueTypeFont ttf, TTFDataStream data) throws IOException
295291
maxComponentDepth = data.readUnsignedShort();
296292
if (maxComponentDepth == 0)
297293
{
298-
LOG.warn("maxComponentDepth is 0, set to 1");
294+
// PDFBOX-6105
299295
maxComponentDepth = 1;
300296
}
301297
}

0 commit comments

Comments
 (0)