aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database/DataManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-03 14:35:59 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-03 14:35:59 +1200
commit7b58913edc7d1572ef66e16bd1c989a510455b6e (patch)
tree4cdc76ee53fe86ea357c711e967f4906c7deb275 /src/org/traccar/database/DataManager.java
parent18127a2dfc362ffd7de4110e013a10a9f894469b (diff)
downloadtrackermap-server-7b58913edc7d1572ef66e16bd1c989a510455b6e.tar.gz
trackermap-server-7b58913edc7d1572ef66e16bd1c989a510455b6e.tar.bz2
trackermap-server-7b58913edc7d1572ef66e16bd1c989a510455b6e.zip
Create base servlet class
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r--src/org/traccar/database/DataManager.java19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 5473c6c77..535365af0 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -19,9 +19,20 @@ import com.mchange.v2.c3p0.ComboPooledDataSource;
import java.io.File;
import java.net.URL;
import java.net.URLClassLoader;
-import java.sql.*;
-import java.util.*;
-import javax.json.JsonArray;
+import java.sql.Connection;
+import java.sql.Driver;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.sql.Statement;
+import java.util.Calendar;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
import javax.sql.DataSource;
import org.traccar.helper.DriverDelegate;
import org.traccar.model.Device;
@@ -203,7 +214,7 @@ public class DataManager {
break;
}
}
- if (!exist) {
+ if (exist) {
return;
}