diff options
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 6 |
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); |