From ba7d093cbf70869774a074486ff4b2a9723c2444 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 16 Apr 2014 22:36:54 +1200 Subject: Fix code formatting --- src/org/traccar/web/server/model/DataServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org') diff --git a/src/org/traccar/web/server/model/DataServiceImpl.java b/src/org/traccar/web/server/model/DataServiceImpl.java index db10bd5e..f8d44fc0 100644 --- a/src/org/traccar/web/server/model/DataServiceImpl.java +++ b/src/org/traccar/web/server/model/DataServiceImpl.java @@ -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(); -- cgit v1.2.3