projects
/
iotcloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed bugs, local communication HMAC added in
[iotcloud.git]
/
version2
/
src
/
java
/
iotcloud
/
TransactionPart.java
diff --git
a/version2/src/java/iotcloud/TransactionPart.java
b/version2/src/java/iotcloud/TransactionPart.java
index 17d8e4481be95da2f62ea991b81f83a406197777..7739eefe926d4727fb13803fc76c72c8ccabc4e2 100644
(file)
--- a/
version2/src/java/iotcloud/TransactionPart.java
+++ b/
version2/src/java/iotcloud/TransactionPart.java
@@
-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);