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:
parent
66dd5ad788
commit
92bfcb6c73
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue