Fixed bugs, local communication HMAC added in
[iotcloud.git] / version2 / src / java / iotcloud / TransactionPart.java
index 17d8e4481be95da2f62ea991b81f83a406197777..7739eefe926d4727fb13803fc76c72c8ccabc4e2 100644 (file)
@@ -96,8 +96,7 @@ class TransactionPart extends Entry {
         long clientLocalSequenceNumber = bb.getLong();
         int partNumber = bb.getInt();
         int dataSize = bb.getInt();
-        Boolean isLastPart = bb.get() == 1;
-
+        Boolean isLastPart = (bb.get() == 1);
         // Get the data
         byte[] data = new byte[dataSize];
         bb.get(data);