You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/06/28 15:36:40 UTC
[incubator-plc4x] 01/02: fixed small typo
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
commit 4fe91d0516c2194d4e4d704c38981cb4d85e926f
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Thu Jun 28 17:33:17 2018 +0200
fixed small typo
---
.../java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocol.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocol.java b/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocol.java
index 6a4a2aa..b6852b1 100644
--- a/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocol.java
+++ b/plc4j/protocols/modbus/src/main/java/org/apache/plc4x/java/modbus/netty/Plc4XModbusProtocol.java
@@ -53,7 +53,7 @@ public class Plc4XModbusProtocol extends MessageToMessageCodec<ModbusTcpPayload,
@Override
protected void encode(ChannelHandlerContext ctx, PlcRequestContainer<PlcRequest, PlcResponse> msg, List<Object> out) throws Exception {
LOGGER.trace("(<--OUT): {}, {}, {}", ctx, msg, out);
- // Reset tranactionId on overflow
+ // Reset transactionId on overflow
transactionId.compareAndSet(Short.MAX_VALUE + 1, 0);
PlcRequest request = msg.getRequest();
if (request instanceof PlcReadRequest) {