Fix: break long line

This commit is contained in:
Cristiano Nascimeno 2024-10-31 19:35:51 -03:00
parent bc7329eb6b
commit ab2166dd69
3 changed files with 6 additions and 4 deletions

View File

@ -73,7 +73,8 @@ public class ExtendedObjectResource<T extends BaseModel> extends BaseObjectResou
conditions.add(new Condition.Permission(Device.class, deviceId, baseClass).excludeGroups());
}
return storage.getObjects(baseClass, new Request(new Columns.All(), Condition.merge(conditions), sortField != null ? new Order(sortField) : null));
return storage.getObjects(baseClass, new Request(new Columns.All(), Condition.merge(conditions),
sortField != null ? new Order(sortField) : null));
}

View File

@ -63,7 +63,8 @@ public class SimpleObjectResource<T extends BaseModel> extends BaseObjectResourc
conditions.add(new Condition.Permission(User.class, userId, baseClass));
}
return storage.getObjects(baseClass, new Request(new Columns.All(), Condition.merge(conditions), sortField != null ? new Order(sortField) : null));
return storage.getObjects(baseClass, new Request(new Columns.All(), Condition.merge(conditions),
sortField != null ? new Order(sortField) : null));
}
}

View File

@ -130,8 +130,8 @@ public class DeviceResource extends BaseObjectResource<Device> {
}
}
return storage.getObjects(baseClass, new Request(new Columns.All(), Condition.merge(conditions), new Order("name")));
return storage.getObjects(baseClass, new Request(new Columns.All(), Condition.merge(conditions),
new Order("name")));
}
}