Cleaning up benchmarks and drivers code.
[iot2.git] / benchmarks / drivers / Java / LifxLightBulb / LifxLightBulb.java
index 909a90c4b7e936ba86604157d34c9670add98270..858b3f4dbc28acd7481feb6c778e30554525f2b2 100644 (file)
@@ -97,7 +97,7 @@ public class LifxLightBulb implements LightBulb {
        @config private IoTSet<IoTDeviceAddress> lb_addresses;
 
        /**
-        * Used for testing only
+        * TODO: Used for testing only
         */
        /*public LifxLightBulb(IoTUDP udp, byte[] macAddress) {
                communicationSockect = udp;
@@ -111,18 +111,6 @@ public class LifxLightBulb implements LightBulb {
 
        public LifxLightBulb(String macAddress) {
                communicationSockect = null;
-
-               // Set the Mac Address to a default value
-               // Probably not needed for anything
-               /*bulbMacAdd[0] = (byte)0x00;
-                  bulbMacAdd[1] = (byte)0x00;
-                  bulbMacAdd[2] = (byte)0x00;
-                  bulbMacAdd[3] = (byte)0x00;
-                  bulbMacAdd[4] = (byte)0x00;
-                  bulbMacAdd[5] = (byte)0x00;
-                  bulbMacAdd[6] = (byte)0x00;
-                  bulbMacAdd[7] = (byte)0x00;*/
-
                bulbMacAddress = DatatypeConverter.parseHexBinary(macAddress);
        }