aboutsummaryrefslogtreecommitdiffstats
path: root/fop
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2016-09-01 13:02:29 +0000
committerSimon Steiner <ssteiner@apache.org>2016-09-01 13:02:29 +0000
commitd00fbcc5807af09bfdb187f82df0474b9a6e19a4 (patch)
tree0147707d2398f5196a5f21629548d00335bbfaf4 /fop
parentcd5c4f508674e5ebbdbe872272455019d2220ca0 (diff)
downloadxmlgraphics-fop-d00fbcc5807af09bfdb187f82df0474b9a6e19a4.tar.gz
xmlgraphics-fop-d00fbcc5807af09bfdb187f82df0474b9a6e19a4.zip
FOP-2643: Java 9 warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1758773 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rw-r--r--fop/examples/hyphenation/src/org/apache/fop/hyphenation/HyphenationTreeAnalysis.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/fop/examples/hyphenation/src/org/apache/fop/hyphenation/HyphenationTreeAnalysis.java b/fop/examples/hyphenation/src/org/apache/fop/hyphenation/HyphenationTreeAnalysis.java
index dc8e16202..c13342100 100644
--- a/fop/examples/hyphenation/src/org/apache/fop/hyphenation/HyphenationTreeAnalysis.java
+++ b/fop/examples/hyphenation/src/org/apache/fop/hyphenation/HyphenationTreeAnalysis.java
@@ -138,17 +138,17 @@ public class HyphenationTreeAnalysis extends TernaryTreeAnalysis {
Node n = new Node(nodeIndex);
ns.string.append(n.toNodeString());
if (n.high != 0) {
- ns.high.add(new Integer(pos));
+ ns.high.add(Integer.valueOf(pos));
NodeString highNs = new NodeString(pos);
- highNs.low.add(new Integer(pos));
+ highNs.low.add(Integer.valueOf(pos));
int index = strings.indexOf(ns);
strings.add(index, highNs);
addNode(n.high, strings, highNs);
}
if (n.low != 0) {
- ns.low.add(new Integer(pos));
+ ns.low.add(Integer.valueOf(pos));
NodeString lowNs = new NodeString(pos);
- lowNs.high.add(new Integer(pos));
+ lowNs.high.add(Integer.valueOf(pos));
int index = strings.indexOf(ns);
strings.add(index + 1, lowNs);
addNode(n.low, strings, lowNs);