Description
Class AbstractConfigurableProvider defines the setBus setter like that :
private Bus bus; /** * Sets the Bus * @param b */ public void setBus(Bus b) { if (bus != null) { bus = b; } }
The bus field is initialized to null and is only modified in the setter above : the bus != null expression is always false and the bus cannot be set at all.
I guess, the code should read :
public void setBus(Bus b) { if (b != null) { bus = b; } }