Put in correct check for null ListenerClass attribute
Issue-ID: APPC-1463
Change-Id: I55cd4327f4718c320e3feaf71db7ac23f59a0986
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
* Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
* Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Copyright (C) 2017 Amdocs
+ * ================================================================================
+ * Modifications Copyright (C) 2019 Ericsson
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
public ControllerImpl(Set<ListenerProperties> properties) {
listeners = new HashMap<ListenerProperties, Listener>();
for (ListenerProperties props : properties) {
public ControllerImpl(Set<ListenerProperties> properties) {
listeners = new HashMap<ListenerProperties, Listener>();
for (ListenerProperties props : properties) {
- if (props.getClass() != null) {
+ if (props.getListenerClass() != null) {
listeners.put(props, null);
} else {
LOG.error(String.format(
listeners.put(props, null);
} else {
LOG.error(String.format(