From 92bfcb6c7399e39cfcc271957c9f1e719401d4d4 Mon Sep 17 00:00:00 2001 From: Simone Bordet Date: Sun, 20 Oct 2019 16:10:01 +0200 Subject: [PATCH] Class Managed is package private, so made addBean(Object, Managed) private because no code outside of jetty-util could call that method. Signed-off-by: Simone Bordet --- .../org/eclipse/jetty/util/component/ContainerLifeCycle.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java b/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java index 78cda3e98ab..18bf8c2db50 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/component/ContainerLifeCycle.java @@ -331,7 +331,7 @@ public class ContainerLifeCycle extends AbstractLifeCycle implements Container, return addBean(o, managed ? Managed.POJO : Managed.UNMANAGED); } - public boolean addBean(Object o, Managed managed) + private boolean addBean(Object o, Managed managed) { if (o == null || contains(o)) return false;