From 45226080e6a1ed52b811563b9d82f1625b9fc55e Mon Sep 17 00:00:00 2001 From: Lars Noschinski Date: Sun, 23 Feb 2014 08:49:46 +0100 Subject: [PATCH] Fix typo in variable name --- .../java/org/jivesoftware/smack/PacketCollector.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/org/jivesoftware/smack/PacketCollector.java b/core/src/main/java/org/jivesoftware/smack/PacketCollector.java index 38374c53a..acc04f9fc 100644 --- a/core/src/main/java/org/jivesoftware/smack/PacketCollector.java +++ b/core/src/main/java/org/jivesoftware/smack/PacketCollector.java @@ -49,23 +49,23 @@ public class PacketCollector { * Creates a new packet collector. If the packet filter is null, then * all packets will match this collector. * - * @param conection the connection the collector is tied to. + * @param connection the connection the collector is tied to. * @param packetFilter determines which packets will be returned by this collector. */ - protected PacketCollector(Connection conection, PacketFilter packetFilter) { - this(conection, packetFilter, SmackConfiguration.getPacketCollectorSize()); + protected PacketCollector(Connection connection, PacketFilter packetFilter) { + this(connection, packetFilter, SmackConfiguration.getPacketCollectorSize()); } /** * Creates a new packet collector. If the packet filter is null, then * all packets will match this collector. * - * @param conection the connection the collector is tied to. + * @param connection the connection the collector is tied to. * @param packetFilter determines which packets will be returned by this collector. * @param maxSize the maximum number of packets that will be stored in the collector. */ - protected PacketCollector(Connection conection, PacketFilter packetFilter, int maxSize) { - this.connection = conection; + protected PacketCollector(Connection connection, PacketFilter packetFilter, int maxSize) { + this.connection = connection; this.packetFilter = packetFilter; this.resultQueue = new ArrayBlockingQueue(maxSize); }