summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobert Meyer <rmeyer@apache.org>2015-08-11 08:11:44 +0000
committerRobert Meyer <rmeyer@apache.org>2015-08-11 08:11:44 +0000
commit82b4a2412ef20d28f5345c75286380c43a0a8db6 (patch)
tree5b29140e40d25a7109fd5b60b48425f4e4dcc82c /src
parent399828422a499e8125d31192918134095ec1c64e (diff)
downloadxmlgraphics-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.java3
-rw-r--r--src/java/org/apache/fop/render/pcl/fonts/truetype/PCLTTFTable.java4
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)