Skip to content

Commit

Permalink
Fix SCA issue: NoEmptyLineSeparatorCheck
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur committed Oct 17, 2021
1 parent c21310e commit 3fb6458
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ private synchronized void discover() {
logger.debug("Try to discover all Danfoss Air CCM devices");

try (DatagramSocket socket = new DatagramSocket()) {

Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces();
while (interfaces.hasMoreElements()) {
NetworkInterface networkInterface = interfaces.nextElement();
Expand All @@ -96,7 +95,6 @@ private synchronized void discover() {
sendBroadcastToDiscoverThing(socket, interfaceAddress.getBroadcast());
}
}

} catch (IOException e) {
logger.debug("No Danfoss Air CCM device found. Diagnostic: {}", e.getMessage());
}
Expand Down

0 comments on commit 3fb6458

Please sign in to comment.