aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 17:04:04 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 17:04:04 +1200
commit79cba5842b624e341cee7721fe7ac4292f604e6f (patch)
tree9a23a06046024840e0a459706fbb8651514b84b9 /src/org/traccar/ServerManager.java
parentd997825008a0a1b0a6c29cc45e381cd239aa3572 (diff)
downloadtrackermap-server-79cba5842b624e341cee7721fe7ac4292f604e6f.tar.gz
trackermap-server-79cba5842b624e341cee7721fe7ac4292f604e6f.tar.bz2
trackermap-server-79cba5842b624e341cee7721fe7ac4292f604e6f.zip
More code issues clean up
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index e42e6dcd6..d0d979adb 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -90,7 +90,7 @@ public class ServerManager {
return Context.getConfig().hasKey(protocol + ".port");
}
- private void initProtocolDetector() throws SQLException {
+ private void initProtocolDetector() {
String protocol = "detector";
if (isProtocolEnabled(protocol)) {
serverList.add(new TrackerServer(new ServerBootstrap(), protocol) {
@@ -108,7 +108,7 @@ public class ServerManager {
}
}
- private void initProtocolServer(final Protocol protocol) throws SQLException {
+ private void initProtocolServer(final Protocol protocol) {
if (isProtocolEnabled(protocol.getName())) {
protocol.initTrackerServers(serverList);
}