diff options
author | Jeremias Maerki <jeremias@apache.org> | 2011-04-22 07:47:49 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2011-04-22 07:47:49 +0000 |
commit | eb2415f68e00304e5ff440cc8ecfcf7f8aac5019 (patch) | |
tree | 16acf774811a1beca92244515aed408f091a5fde /src/java/org/apache/fop | |
parent | 8cccb5909b2f1a7f2ab5cdb1afa5dd2337d3ef9c (diff) | |
download | xmlgraphics-fop-eb2415f68e00304e5ff440cc8ecfcf7f8aac5019.tar.gz xmlgraphics-fop-eb2415f68e00304e5ff440cc8ecfcf7f8aac5019.zip |
Make FindBugs happier.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095883 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/fonts/FontInfo.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fonts/FontInfo.java b/src/java/org/apache/fop/fonts/FontInfo.java index c0bf8db8d..5c9c63a98 100644 --- a/src/java/org/apache/fop/fonts/FontInfo.java +++ b/src/java/org/apache/fop/fonts/FontInfo.java @@ -152,7 +152,7 @@ public class FontInfo { } } this.triplets.put(triplet, internalFontKey); - this.tripletPriorities.put(triplet, new Integer(newPriority)); + this.tripletPriorities.put(triplet, Integer.valueOf(newPriority)); } /** @@ -316,7 +316,7 @@ public class FontInfo { sizes = new HashMap<Integer, Font>(); getFontInstanceCache().put(triplet, sizes); } - Integer size = new Integer(fontSize); + Integer size = Integer.valueOf(fontSize); Font font = sizes.get(size); if (font == null) { String fontKey = getInternalFontKey(triplet); |