aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-04-16 22:36:54 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-04-16 22:36:54 +1200
commitba7d093cbf70869774a074486ff4b2a9723c2444 (patch)
tree2738bb5de73d00f88b2c505e40c8cd560e9354ff
parentb0cc82537c309ffd9295d9b9ea2f0ea190bae3ba (diff)
downloadtrackermap-web-ba7d093cbf70869774a074486ff4b2a9723c2444.tar.gz
trackermap-web-ba7d093cbf70869774a074486ff4b2a9723c2444.tar.bz2
trackermap-web-ba7d093cbf70869774a074486ff4b2a9723c2444.zip
Fix code formatting
-rw-r--r--src/org/traccar/web/server/model/DataServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
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();