LP1817932 Avoid jdk11 "boxed primitive constructors" deprecation
authorBill Erickson <berickxx@gmail.com>
Wed, 27 Feb 2019 15:55:38 +0000 (10:55 -0500)
committerBill Erickson <berickxx@gmail.com>
Wed, 24 Apr 2019 20:29:43 +0000 (16:29 -0400)
Specifically:

warning: [deprecation] Boolean(boolean) in Boolean has been deprecated

Signed-off-by: Bill Erickson <berickxx@gmail.com>
src/org/evergreen_ils/hatch/PrintManager.java

index 3184a0b..be556b4 100644 (file)
@@ -80,7 +80,7 @@ public class PrintManager {
             printerMap.put("name", printer.getName());
             if (defaultPrinter != null && 
                 printer.getName().equals(defaultPrinter.getName())) {
-                printerMap.put("is-default", new Boolean(true));
+                printerMap.put("is-default", true);
             }
         }