From 009e489594d051b89f03fcac48ce719c94ac8afa Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 11 Jun 2015 14:20:41 +1200 Subject: Revert "removing double quotes" --- src/org/traccar/database/DataManager.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/org/traccar/database') diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 35e9cff95..9633ada58 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -46,7 +46,6 @@ import org.traccar.model.Permission; import org.traccar.model.Position; import org.traccar.model.Server; import org.traccar.model.User; -import org.traccar.model.Alert; import com.mchange.v2.c3p0.ComboPooledDataSource; @@ -323,10 +322,5 @@ public class DataManager { .setObject(server) .executeUpdate(); } - - public Collection getAlertsByDevice(Long deviceId) throws SQLException { - return QueryBuilder.create(dataSource, properties.getProperty("database.getAlertsByDevice")) - .setLong("deviceId", deviceId) - .executeQuery(new Alert()); - } -} \ No newline at end of file + +} -- cgit v1.2.3