aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-01-15 16:02:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-01-15 16:02:15 +1300
commit2665120e4f9c450738f2cd218afacb736ad92542 (patch)
treeddf6a915efca7e1b1c0c195fba30d68c22f31bc0 /src
parente6762fdb368ed639e1726c5f423512b38d397580 (diff)
downloadtrackermap-server-2665120e4f9c450738f2cd218afacb736ad92542.tar.gz
trackermap-server-2665120e4f9c450738f2cd218afacb736ad92542.tar.bz2
trackermap-server-2665120e4f9c450738f2cd218afacb736ad92542.zip
Remove default port number
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/TrackerServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/TrackerServer.java b/src/org/traccar/TrackerServer.java
index 9fcc2f5b6..34f302340 100644
--- a/src/org/traccar/TrackerServer.java
+++ b/src/org/traccar/TrackerServer.java
@@ -55,7 +55,7 @@ public abstract class TrackerServer {
address = serverManager.getProperties().getProperty(protocol + ".address");
String portProperty = serverManager.getProperties().getProperty(protocol + ".port");
- port = (portProperty != null) ? Integer.valueOf(portProperty) : 5000;
+ port = Integer.valueOf(portProperty);
bootstrap.setPipelineFactory(new BasePipelineFactory(serverManager, this, protocol) {
@Override