aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/Server.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java
index f01b5af2a..df035fc21 100644
--- a/src/org/traccar/Server.java
+++ b/src/org/traccar/Server.java
@@ -120,8 +120,7 @@ public class Server {
// Initialize web server
if (Boolean.valueOf(properties.getProperty("http.enable"))) {
- Integer port = Integer.valueOf(properties.getProperty("http.port",
- "8082"));
+ Integer port = Integer.valueOf(properties.getProperty("http.port","8082"));
webServer = new WebServer(port, dataManager);
}
}
@@ -162,8 +161,7 @@ public class Server {
*/
private void initLogger(Properties properties) throws IOException {
- loggerEnabled = Boolean
- .valueOf(properties.getProperty("logger.enable"));
+ loggerEnabled = Boolean.valueOf(properties.getProperty("logger.enable"));
if (loggerEnabled) {