diff options
author | gjoranv <gv@oath.com> | 2018-04-30 23:47:50 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2018-04-30 23:47:50 +0200 |
commit | 7882a58621091e8a035b675f149c5c533e3c1907 (patch) | |
tree | bc028893e23cf85eab232ef9e7af3a4569e636b7 /container-search/src/main/java/com/yahoo/prelude/query/parser | |
parent | a9c3ea1ef9fe3744ad2e93c9c11051510cd89ee3 (diff) |
Java 9: Replace 'new Integer' with 'Integer.valueOf'
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/query/parser')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/query/parser/UnicodePropertyDump.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/parser/UnicodePropertyDump.java b/container-search/src/main/java/com/yahoo/prelude/query/parser/UnicodePropertyDump.java index 0b86b05deb4..d5f72a3387e 100644 --- a/container-search/src/main/java/com/yahoo/prelude/query/parser/UnicodePropertyDump.java +++ b/container-search/src/main/java/com/yahoo/prelude/query/parser/UnicodePropertyDump.java @@ -25,10 +25,10 @@ class UnicodePropertyDump { boolean debug = false; if (arg.length > 0) { - start = new Integer(arg[0]).intValue(); + start = Integer.valueOf(arg[0]).intValue(); } if (arg.length > 1) { - end = new Integer(arg[1]).intValue(); + end = Integer.valueOf(arg[1]).intValue(); } if (arg.length > 2) { debug = new Boolean(arg[2]).booleanValue(); |