diff options
author | gjoranv <gv@oath.com> | 2018-05-04 16:30:13 +0200 |
---|---|---|
committer | gjoranv <gv@oath.com> | 2018-05-09 13:24:56 +0200 |
commit | 6169d9411210c3433a51dc338155e7b7658e534f (patch) | |
tree | 13b3444b802cc054cb50b2d96dc2472a0f5e6815 /standalone-container/src/test | |
parent | daf1d91787258738e7f8687aa995ec25e0eba20c (diff) |
Java 9: Replace usage of deprecated apis.
Diffstat (limited to 'standalone-container/src/test')
-rw-r--r-- | standalone-container/src/test/scala/com/yahoo/container/standalone/StandaloneSubscriberTest.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone-container/src/test/scala/com/yahoo/container/standalone/StandaloneSubscriberTest.scala b/standalone-container/src/test/scala/com/yahoo/container/standalone/StandaloneSubscriberTest.scala index 8fd2427185b..ab6f486c748 100644 --- a/standalone-container/src/test/scala/com/yahoo/container/standalone/StandaloneSubscriberTest.scala +++ b/standalone-container/src/test/scala/com/yahoo/container/standalone/StandaloneSubscriberTest.scala @@ -21,7 +21,7 @@ class StandaloneSubscriberTest { def key(name: String) = new ConfigKey(name, "container", "container").asInstanceOf[ConfigKey[ConfigInstance]] - def box(i: Int) = new java.lang.Integer(i) + def box(i: Int) = java.lang.Integer.valueOf(i) @Test @Ignore |