Fix Java and Jetty deprecations (#10349)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -85,6 +85,7 @@ public class Server extends Thread {
|
||||
* Starts the server
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
public void run() {
|
||||
this.startRetries = 0;
|
||||
while (!this.isInterrupted()) {
|
||||
@@ -132,7 +133,7 @@ public class Server extends Thread {
|
||||
|
||||
IDataPoint dp = DataPointFactory.createDataPoint(id, knxType, description);
|
||||
if (dp != null) {
|
||||
this.dataPoints.put(new Integer(id), dp);
|
||||
this.dataPoints.put(Integer.valueOf(id), dp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user