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 <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2019-10-20 16:10:01 +02:00
parent 66dd5ad788
commit 92bfcb6c73
1 changed files with 1 additions and 1 deletions

View File

@ -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;