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:56 UTC

[incubator-plc4x] 01/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 c0c3bb1e4f580cfefd93487a9014739f3f2b9562
Author: Justin Mclean <jm...@apache.org>
AuthorDate: Fri Jan 5 15:25:04 2018 +1100

    local var had some name as field
---
 .../main/java/org/apache/plc4x/java/isotp/netty/IsoTPProtocol.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 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 07a2870..1dc35a3 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 tpduSize = (TpduSizeParameter) parameter;
-                        out.writeByte(tpduSize.getTpduSize().getCode());
+                        TpduSizeParameter tpduSizeParameter = (TpduSizeParameter) parameter;
+                        out.writeByte(tpduSizeParameter.getTpduSize().getCode());
                         break;
                     default:
                         logger.error("TDPU tarameter type {} not implemented yet",

-- 
To stop receiving notification emails like this one, please contact
"commits@plc4x.apache.org" <co...@plc4x.apache.org>.