Pārlūkot izejas kodu

Make FindBugs happier.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1095883 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_1rc1old
Jeremias Maerki pirms 13 gadiem
vecāks
revīzija
eb2415f68e
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      src/java/org/apache/fop/fonts/FontInfo.java

+ 2
- 2
src/java/org/apache/fop/fonts/FontInfo.java Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt