Reformatted the code block as necessary

This commit is contained in:
abhishekdesilva 2018-08-21 09:53:23 +05:30
parent 870ff031bb
commit a0bc1cdd20

View File

@ -186,12 +186,12 @@ public class OperationManagerImpl implements OperationManager {
if (hasExistingTaskOperation) {
pendingDeviceList.add(deviceId);
}
}
if (pendingDeviceList.size() > 0) {
if (authorizedDeviceList.size() == pendingDeviceList.size()) {
log.info("All the devices contain a pending operation for the Operation Code: "+operationCode);
log.info("All the devices contain a pending operation for the Operation Code: "
+ operationCode);
Activity activity = new Activity();
//Send the operation statuses only for admin triggered operations
String deviceType = validDeviceIds.get(0).getType();