From 34aee491671c190b0ed000bd5387147c85b8fd01 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 27 Feb 2019 10:55:38 -0500 Subject: [PATCH] LP1817932 Avoid jdk11 "boxed primitive constructors" deprecation Specifically: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated Signed-off-by: Bill Erickson --- src/org/evergreen_ils/hatch/PrintManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/evergreen_ils/hatch/PrintManager.java b/src/org/evergreen_ils/hatch/PrintManager.java index 3184a0b5a3..be556b4deb 100644 --- a/src/org/evergreen_ils/hatch/PrintManager.java +++ b/src/org/evergreen_ils/hatch/PrintManager.java @@ -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); } } -- 2.11.0