aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-11 14:21:41 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-11 14:21:41 +1200
commit46ab7d5a366a40f1bf55153fc7938f5762fb2345 (patch)
tree0b9977e1c331ac42a9650088d47c76afa4dbc3c8 /src/org/traccar/BasePipelineFactory.java
parent26e1ba286424d5ee623e8941cae7cf0b3625c870 (diff)
parent009e489594d051b89f03fcac48ce719c94ac8afa (diff)
downloadtrackermap-server-46ab7d5a366a40f1bf55153fc7938f5762fb2345.tar.gz
trackermap-server-46ab7d5a366a40f1bf55153fc7938f5762fb2345.tar.bz2
trackermap-server-46ab7d5a366a40f1bf55153fc7938f5762fb2345.zip
Merge pull request #1244 from tananaev/revert-1243-master
Revert removing double quotes
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 1f18ce48e..fcb6266ef 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -32,7 +32,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
private final TrackerServer server;
private FilterHandler filterHandler;
- private AlertHandler alertHandler;
private Integer resetDelay;
private Boolean processInvalidPositions;
@@ -94,11 +93,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
if (enableFilter != null && Boolean.valueOf(enableFilter)) {
filterHandler = new FilterHandler();
}
-
- String enableAlerts = Context.getProps().getProperty("alert.enable");
- if(enableAlerts != null && Boolean.valueOf(enableAlerts)){
- alertHandler = new AlertHandler();
- }
if (Context.getReverseGeocoder() != null) {
// Default behavior is to process invalid positions (i.e., the "null" case)
@@ -123,9 +117,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
if (filterHandler != null) {
pipeline.addLast("filter", filterHandler);
}
- if (alertHandler != null) {
- pipeline.addLast("alert", alertHandler);
- }
if (Context.getReverseGeocoder() != null) {
pipeline.addLast("geocoder", new ReverseGeocoderHandler(Context.getReverseGeocoder(), processInvalidPositions));
}