@Override
public OpeningTime getAsObject (final FacesContext context, final UIComponent component, final String submittedValue) {
// Is the instance there?
- if (OPENING_TIMES_CONTROLLER == null) {
+ if (null == OPENING_TIMES_CONTROLLER) {
// Get bean from CDI directly
OPENING_TIMES_CONTROLLER = CDI.current().select(JobsOpeningTimeWebRequestBean.class).get();
}