Describe the bug
Use of deprecated new Integer() constructor.
To Reproduce
Steps to reproduce the behavior:
Compile using Java 9+
Expected behavior
No warnings.
Actual ErrorLocalDevice.java:336: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] idList.remove(new Integer(d.getInstanceNumber()));
Describe the bug Use of deprecated new Integer() constructor.
To Reproduce Steps to reproduce the behavior:
Expected behavior No warnings.
Actual Error
LocalDevice.java:336: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] idList.remove(new Integer(d.getInstanceNumber()));
https://github.com/MangoAutomation/BACnet4J/blob/master/src/main/java/com/serotonin/bacnet4j/LocalDevice.java#L336