You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by jm...@apache.org on 2018/01/05 04:38:57 UTC
[incubator-plc4x] 02/03: local var had some name as field
This is an automated email from the ASF dual-hosted git repository.
jmclean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
commit 4166952cff47ce1bfb833a217bc4fe138e06ac02
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Fri Jan 5 15:38:06 2018 +1100
local var had some name as field
---
.../java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
index 1dc35a3..bdaa722 100644
--- a/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
+++ b/plc4j/protocols/s7/src/main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java
@@ -282,8 +282,8 @@ public class IsoTPProtocol extends MessageToMessageCodec<IsoOnTcpMessage, Tpdu>
out.writeBytes(disconnectAdditionalInformation.getData());
break;
case TPDU_SIZE:
- TpduSizeParameter tpduSizeParameter = (TpduSizeParameter) parameter;
- out.writeByte(tpduSizeParameter.getTpduSize().getCode());
+ TpduSizeParameter sizeParameter = (TpduSizeParameter) parameter;
+ out.writeByte(sizeParameter.getTpduSize().getCode());
break;
default:
logger.error("TDPU tarameter type {} not implemented yet",
@@ -382,8 +382,8 @@ public class IsoTPProtocol extends MessageToMessageCodec<IsoOnTcpMessage, Tpdu>
out.readBytes(data);
return new DisconnectAdditionalInformationParameter(data);
case TPDU_SIZE:
- TpduSize tpduSize = TpduSize.valueOf(out.readByte());
- return new TpduSizeParameter(tpduSize);
+ TpduSize size = TpduSize.valueOf(out.readByte());
+ return new TpduSizeParameter(size);
default:
logger.error("Parameter not implemented yet " + parameterCode.name());
return null;
--
To stop receiving notification emails like this one, please contact
"commits@plc4x.apache.org" <co...@plc4x.apache.org>.