From 34256cf79db99fe3f4874605553733b0851cf668 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 19 Jul 2015 18:53:03 +1200 Subject: Fix issue with collection decoding --- src/org/traccar/ExtendedObjectDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/ExtendedObjectDecoder.java b/src/org/traccar/ExtendedObjectDecoder.java index d0f82dace..b383d13c0 100644 --- a/src/org/traccar/ExtendedObjectDecoder.java +++ b/src/org/traccar/ExtendedObjectDecoder.java @@ -41,7 +41,7 @@ public abstract class ExtendedObjectDecoder implements ChannelUpstreamHandler { ctx.sendUpstream(evt); } else if (decodedMessage != null) { if (decodedMessage instanceof Collection) { - for (Object o : (Collection) e.getMessage()) { + for (Object o : (Collection) decodedMessage) { fireMessageReceived(ctx, o, e.getRemoteAddress()); } } else { -- cgit v1.2.3