aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-12 10:52:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-12 10:52:14 +1300
commit633bed5cd14c16d53c7b84ed2c6586915467e1a8 (patch)
tree5a6864ded6ea566984dd6001ee17f8ddd767c074 /src/org/traccar/BasePipelineFactory.java
parent9c6706bc8ae37776689c61e237978b364fb392e8 (diff)
downloadtrackermap-server-633bed5cd14c16d53c7b84ed2c6586915467e1a8.tar.gz
trackermap-server-633bed5cd14c16d53c7b84ed2c6586915467e1a8.tar.bz2
trackermap-server-633bed5cd14c16d53c7b84ed2c6586915467e1a8.zip
Minor decoding and pipeline fixes
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 74b59a486..775d609a7 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -188,15 +188,15 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
addSpecificHandlers(pipeline);
+ if (geolocationHandler != null) {
+ pipeline.addLast("location", geolocationHandler);
+ }
if (hemisphereHandler != null) {
pipeline.addLast("hemisphere", hemisphereHandler);
}
if (geocoderHandler != null) {
pipeline.addLast("geocoder", geocoderHandler);
}
- if (geolocationHandler != null) {
- pipeline.addLast("location", geolocationHandler);
- }
pipeline.addLast("remoteAddress", new RemoteAddressHandler());
addDynamicHandlers(pipeline);