Fix for compile error
@@ -23,7 +23,7 @@ public class UnownedDeviceHandler implements OCObtDiscoveryHandler {
String deviceId = OCUuidUtil.uuidToString(uuid);
Log.d(TAG, "discovered unowned device: " + deviceId + " at:");
while (endpoints != null) {
- String[] endpointStr = OCEndpointUtil.toString(endpoints);
+ String endpointStr = OCEndpointUtil.toString(endpoints);
Log.d(TAG, endpointStr);
endpoints = endpoints.getNext();
}
