mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-09 04:37:33 +08:00
Fix code formatting
This commit is contained in:
parent
b0cc82537c
commit
ba7d093cbf
@ -339,7 +339,7 @@ public class DataServiceImpl extends RemoteServiceServlet implements DataService
|
||||
if (results.isEmpty()) {
|
||||
entityManager.getTransaction().begin();
|
||||
try {
|
||||
Device tmp_device = entityManager.find(Device.class, device.getId());
|
||||
Device tmp_device = entityManager.find(Device.class, device.getId());
|
||||
tmp_device.setName(device.getName());
|
||||
tmp_device.setUniqueId(device.getUniqueId());
|
||||
entityManager.getTransaction().commit();
|
||||
|
Loading…
Reference in New Issue
Block a user