diff options
author | nativbarak <nativ@globekeeper.com> | 2018-02-07 09:11:01 +0200 |
---|---|---|
committer | nativbarak <nativ@globekeeper.com> | 2018-02-07 09:11:01 +0200 |
commit | da1f01f9367e882b90b495cfae9b67d71e0cf1bb (patch) | |
tree | 69235601b205565aa06529ebf8fb1688a5578980 /src/org | |
parent | 4969ecd1d16324f488f01f1f0873e101c1609302 (diff) | |
download | trackermap-server-da1f01f9367e882b90b495cfae9b67d71e0cf1bb.tar.gz trackermap-server-da1f01f9367e882b90b495cfae9b67d71e0cf1bb.tar.bz2 trackermap-server-da1f01f9367e882b90b495cfae9b67d71e0cf1bb.zip |
fixed inline variables + test name
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 4407caae4..5a077da7c 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -238,9 +238,8 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { } if (Context.getConfig().getBoolean("forward.enable")) { - final Boolean json = Context.getConfig().getBoolean("forward.json"); - final String url = Context.getConfig().getString("forward.url"); - pipeline.addLast("webHandler", new WebDataHandler(url, json)); + pipeline.addLast("webHandler", new WebDataHandler(Context.getConfig().getString("forward.url"), + Context.getConfig().getBoolean("forward.json"))); } if (commandResultEventHandler != null) { |