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 /vespajlib | |
parent | a9c3ea1ef9fe3744ad2e93c9c11051510cd89ee3 (diff) |
Java 9: Replace 'new Integer' with 'Integer.valueOf'
Diffstat (limited to 'vespajlib')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/text/HTML.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/text/HTML.java b/vespajlib/src/main/java/com/yahoo/text/HTML.java index 594935acaac..0ae69287ff8 100644 --- a/vespajlib/src/main/java/com/yahoo/text/HTML.java +++ b/vespajlib/src/main/java/com/yahoo/text/HTML.java @@ -13,7 +13,7 @@ import java.util.HashMap; */ public class HTML { static Object[][] entities = { - // {"#39", new Integer(39)}, // ' - apostrophe + // {"#39", Integer.valueOf(39)}, // ' - apostrophe {"quot", 34}, // " - double-quote {"amp", 38}, // & - ampersand {"lt", 60}, // < - less-than |