diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-01-15 16:02:15 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-01-15 16:02:15 +1300 |
commit | 2665120e4f9c450738f2cd218afacb736ad92542 (patch) | |
tree | ddf6a915efca7e1b1c0c195fba30d68c22f31bc0 /src | |
parent | e6762fdb368ed639e1726c5f423512b38d397580 (diff) | |
download | traccar-server-2665120e4f9c450738f2cd218afacb736ad92542.tar.gz traccar-server-2665120e4f9c450738f2cd218afacb736ad92542.tar.bz2 traccar-server-2665120e4f9c450738f2cd218afacb736ad92542.zip |
Remove default port number
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/TrackerServer.java | 2 |
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 |