Skip to content

Commit

Permalink
[OmniLink] Fix spelling of status (#10161)
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
  • Loading branch information
ecdye authored Feb 15, 2021
1 parent 71dbf2e commit 5c3c1db
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private void updateHandlerStatus() {
if (bridge != null && bridge.getStatus() == ThingStatus.ONLINE) {
updateStatus(ThingStatus.ONLINE);
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {

if (command instanceof RefreshType) {
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
return;
}

Expand Down

0 comments on commit 5c3c1db

Please sign in to comment.