Skip to content

Commit 01f51d6

Browse files
committed
if -> switch
1 parent 51b2457 commit 01f51d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hivemq-edge-module-modbus/src/main/java/com/hivemq/edge/adapters/modbus/ModbusProtocolAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ protected static CompletableFuture<DataPoint> doRead(
250250
startIdx,
251251
unitId);
252252
default:
253-
return CompletableFuture.failedFuture(new Exception("Unknown read type " + readType));
253+
return CompletableFuture.failedFuture(new Exception("Unknown read type " + readType));
254254
}
255255
}
256256

0 commit comments

Comments
 (0)