diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-11 14:21:41 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-11 14:21:41 +1200 |
commit | 46ab7d5a366a40f1bf55153fc7938f5762fb2345 (patch) | |
tree | 0b9977e1c331ac42a9650088d47c76afa4dbc3c8 /src/org/traccar/database/DataManager.java | |
parent | 26e1ba286424d5ee623e8941cae7cf0b3625c870 (diff) | |
parent | 009e489594d051b89f03fcac48ce719c94ac8afa (diff) | |
download | trackermap-server-46ab7d5a366a40f1bf55153fc7938f5762fb2345.tar.gz trackermap-server-46ab7d5a366a40f1bf55153fc7938f5762fb2345.tar.bz2 trackermap-server-46ab7d5a366a40f1bf55153fc7938f5762fb2345.zip |
Merge pull request #1244 from tananaev/revert-1243-master
Revert removing double quotes
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 10 |
1 files changed, 2 insertions, 8 deletions
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<Alert> 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 + +} |