Skip to content

Commit

Permalink
Fixes openhab#10939: Remove excessive log statements for unknown Appl…
Browse files Browse the repository at this point in the history
…icationGroups (openhab#11433)

Signed-off-by: Rouven Schürch <r.schuerch@gmx.ch>
  • Loading branch information
ardanedh authored and Nemer_Daud committed Jan 28, 2022
1 parent ad70082 commit c752dbc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,7 @@ public List<Short> getGroups() {
*/
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);
}
Expand Down

0 comments on commit c752dbc

Please sign in to comment.