diff options
Diffstat (limited to 'src/org/traccar/ExtendedObjectDecoder.java')
-rw-r--r-- | src/org/traccar/ExtendedObjectDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/ExtendedObjectDecoder.java b/src/org/traccar/ExtendedObjectDecoder.java index b00e04c33..382ef869d 100644 --- a/src/org/traccar/ExtendedObjectDecoder.java +++ b/src/org/traccar/ExtendedObjectDecoder.java @@ -21,7 +21,7 @@ import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelEvent; import org.jboss.netty.channel.ChannelHandlerContext; import org.jboss.netty.channel.ChannelUpstreamHandler; -import static org.jboss.netty.channel.Channels.fireMessageReceived; +import org.jboss.netty.channel.Channels; import org.jboss.netty.channel.MessageEvent; public abstract class ExtendedObjectDecoder implements ChannelUpstreamHandler { @@ -42,10 +42,10 @@ public abstract class ExtendedObjectDecoder implements ChannelUpstreamHandler { } else if (decodedMessage != null) { if (decodedMessage instanceof Collection) { for (Object o : (Collection) decodedMessage) { - fireMessageReceived(ctx, o, e.getRemoteAddress()); + Channels.fireMessageReceived(ctx, o, e.getRemoteAddress()); } } else { - fireMessageReceived(ctx, decodedMessage, e.getRemoteAddress()); + Channels.fireMessageReceived(ctx, decodedMessage, e.getRemoteAddress()); } } } |