aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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