mirror of
https://github.com/traccar/traccar.git
synced 2025-01-09 04:07:38 +08:00
Fix: break long line
This commit is contained in:
parent
bc7329eb6b
commit
ab2166dd69
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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")));
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user