aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/database
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-04 14:00:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-04 14:00:38 +1300
commit5b0c6561e3ddd94b84e1e0800cd4bf946030774d (patch)
treed0ef1adf121feefccfdf081bff5c887ff12b263d /src/org/traccar/database
parent7a80a011789dced9db2c6cdc65cb327d87a6d2b1 (diff)
downloadtraccar-server-5b0c6561e3ddd94b84e1e0800cd4bf946030774d.tar.gz
traccar-server-5b0c6561e3ddd94b84e1e0800cd4bf946030774d.tar.bz2
traccar-server-5b0c6561e3ddd94b84e1e0800cd4bf946030774d.zip
Remove implied interface modifiers
Diffstat (limited to 'src/org/traccar/database')
-rw-r--r--src/org/traccar/database/ConnectionManager.java4
-rw-r--r--src/org/traccar/database/IdentityManager.java4
-rw-r--r--src/org/traccar/database/QueryBuilder.java3
3 files changed, 5 insertions, 6 deletions
diff --git a/src/org/traccar/database/ConnectionManager.java b/src/org/traccar/database/ConnectionManager.java
index c34428af5..e45c83651 100644
--- a/src/org/traccar/database/ConnectionManager.java
+++ b/src/org/traccar/database/ConnectionManager.java
@@ -91,8 +91,8 @@ public class ConnectionManager {
return result;
}
- public static interface DataCacheListener {
- public void onUpdate(Position position);
+ public interface DataCacheListener {
+ void onUpdate(Position position);
}
public void addListener(Collection<Long> devices, DataCacheListener listener) {
diff --git a/src/org/traccar/database/IdentityManager.java b/src/org/traccar/database/IdentityManager.java
index b24bf79ed..8bdce09a3 100644
--- a/src/org/traccar/database/IdentityManager.java
+++ b/src/org/traccar/database/IdentityManager.java
@@ -19,8 +19,8 @@ import org.traccar.model.Device;
public interface IdentityManager {
- public Device getDeviceById(long id);
+ Device getDeviceById(long id);
- public Device getDeviceByUniqueId(String uniqueId) throws Exception;
+ Device getDeviceByUniqueId(String uniqueId) throws Exception;
}
diff --git a/src/org/traccar/database/QueryBuilder.java b/src/org/traccar/database/QueryBuilder.java
index 7bec25ee5..09fb19d13 100644
--- a/src/org/traccar/database/QueryBuilder.java
+++ b/src/org/traccar/database/QueryBuilder.java
@@ -36,7 +36,6 @@ import javax.json.Json;
import javax.json.JsonReader;
import javax.json.stream.JsonParsingException;
import javax.sql.DataSource;
-
import org.traccar.Context;
import org.traccar.model.Factory;
import org.traccar.model.MiscFormatter;
@@ -267,7 +266,7 @@ public class QueryBuilder {
}
private interface ResultSetProcessor<T> {
- public void process(T object, ResultSet resultSet) throws SQLException;
+ void process(T object, ResultSet resultSet) throws SQLException;
}
public <T extends Factory> T executeQuerySingle(T prototype) throws SQLException {