Updates
[iotcloud.git] / version2 / src / java / iotcloud / LocalComm.java
index d6d34914d36229195ca2ec4ee9587e93ca405fc5..d00c473730c57b0ba8a4eac941e3b47684d51921 100644 (file)
@@ -10,12 +10,13 @@ class LocalComm {
     }
 
     public byte[] sendDataToLocalDevice(Long deviceId, byte[] data) {
+        System.out.println("Passing Locally");
+
         if (deviceId == t1.getId()) {
             return t1.localCommInput(data);
         } else if (deviceId == t2.getId()) {
             return t2.localCommInput(data);
-        }
-        else {
+        } else {
             throw new Error("Cannot send to " + deviceId + " using this local comm");
         }
     }