From 0474876b58dd6945db0b3c43cd9070357a59b253 Mon Sep 17 00:00:00 2001
From: zzz <zzz@mail.i2p>
Date: Mon, 24 Dec 2018 13:21:05 +0000
Subject: [PATCH] NDT: Fix deprecation

---
 apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java b/apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java
index e3100b76cf..d8ba60dc7b 100644
--- a/apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java
+++ b/apps/routerconsole/java/src/edu/internet2/ndt/Tcpbw100.java
@@ -958,8 +958,8 @@ public class Tcpbw100 extends JApplet implements ActionListener {
 		_chkboxDefaultTest.setSelected(true);
 		// 3. configure number of tests
 		SpinnerNumberModel model = new SpinnerNumberModel();
-		model.setMinimum(new Integer(0));
-		model.setValue(new Integer(1));
+		model.setMinimum(Integer.valueOf(0));
+		model.setValue(Integer.valueOf(1));
 		_spinnerTestCount.setModel(model);
 		_spinnerTestCount.setPreferredSize(new Dimension(60, 20));
 		_cmboboxDelay = new JComboBox();
-- 
GitLab