Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
This commit is contained in:
parent
f88ccb87dc
commit
9f25507731
|
@ -278,9 +278,7 @@ public class DeviceImpl extends AbstractGeneralDeviceInformations implements Dev
|
|||
*/
|
||||
private boolean addGroupToList(Short groupID) {
|
||||
ApplicationGroup group = ApplicationGroup.getGroup(groupID);
|
||||
if (ApplicationGroup.UNDEFINED.equals(group)) {
|
||||
logger.warn("Unknown application group with ID '{}' found! Ignoring group", groupID);
|
||||
} else {
|
||||
if (!ApplicationGroup.UNDEFINED.equals(group)) {
|
||||
if (!this.groupList.contains(group)) {
|
||||
this.groupList.add(group);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue