aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-19 18:53:03 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-19 18:53:03 +1200
commit34256cf79db99fe3f4874605553733b0851cf668 (patch)
treebb3881979d108ef9b2a3df28bcef0d0fb5766243 /src/org/traccar
parentd5640d4a672c0b23bea3a697fc3412fbe7e93350 (diff)
downloadtraccar-server-34256cf79db99fe3f4874605553733b0851cf668.tar.gz
traccar-server-34256cf79db99fe3f4874605553733b0851cf668.tar.bz2
traccar-server-34256cf79db99fe3f4874605553733b0851cf668.zip
Fix issue with collection decoding
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/ExtendedObjectDecoder.java2
1 files changed, 1 insertions, 1 deletions
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 {