From: Robert Meyer Date: Tue, 11 Aug 2015 08:11:44 +0000 (+0000) Subject: Fixed checkstyle missing EOL. Resolved ignored findbugs warning X-Git-Tag: fop-2_1~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=82b4a2412ef20d28f5345c75286380c43a0a8db6;p=xmlgraphics-fop.git Fixed checkstyle missing EOL. Resolved ignored findbugs warning git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1695225 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml index 13f811251..2eaa8580b 100644 --- a/findbugs-exclude.xml +++ b/findbugs-exclude.xml @@ -238,10 +238,6 @@ - - - - diff --git a/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFFontReader.java b/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFFontReader.java index 1a054953c..35e37f23f 100644 --- a/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFFontReader.java +++ b/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFFontReader.java @@ -728,4 +728,5 @@ public class PCLTTFFontReader extends PCLFontReader { out[offset] = b1; out[offset + 1] = b2; } -} \ No newline at end of file +} + diff --git a/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFTable.java b/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFTable.java index cfe866474..ea0f5cafb 100644 --- a/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFTable.java +++ b/src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFTable.java @@ -32,12 +32,12 @@ public class PCLTTFTable { protected void skipShort(FontFileReader reader, int skips) throws IOException { - reader.skip(skips * 2); + reader.skip(skips * 2L); } protected void skipLong(FontFileReader reader, int skips) throws IOException { - reader.skip(skips * 4); + reader.skip(skips * 4L); } protected void skipByte(FontFileReader reader, int skips)