Changing encryption in the phone app of the fourth benchmark from AES-ECB to AES...
[iot2.git] / benchmarks / other / PhoneInterface / Control / app / src / main / java / iotcloud / Abort.java
index f053faf35cc0794fc6b0f83ab6869e82ae4b73a9..7cafe431b52f76901f2b9de37da0428dad654df9 100644 (file)
@@ -103,8 +103,10 @@ class Abort extends Entry {
                bb.putLong(arbitratorLocalSequenceNumber);
        }
 
-       //public int getSize() { return (6 * Long.BYTES) + Byte.BYTES; }
-       public int getSize() { return (6 * Long.SIZE/8) + (Byte.SIZE/8); }
+       public int getSize() {
+               //return (6 * Long.BYTES) + Byte.BYTES;
+               return (6 * Long.SIZE/8) + Byte.SIZE/8;
+       }
 
        public byte getType() {
                return Entry.TypeAbort;