diff options
author | Robert Meyer <rmeyer@apache.org> | 2015-08-11 08:11:44 +0000 |
---|---|---|
committer | Robert Meyer <rmeyer@apache.org> | 2015-08-11 08:11:44 +0000 |
commit | 82b4a2412ef20d28f5345c75286380c43a0a8db6 (patch) | |
tree | 5b29140e40d25a7109fd5b60b48425f4e4dcc82c /src | |
parent | 399828422a499e8125d31192918134095ec1c64e (diff) | |
download | xmlgraphics-fop-82b4a2412ef20d28f5345c75286380c43a0a8db6.tar.gz xmlgraphics-fop-82b4a2412ef20d28f5345c75286380c43a0a8db6.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFFontReader.java | 3 | ||||
-rw-r--r-- | src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFTable.java | 4 |
2 files changed, 4 insertions, 3 deletions
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) |