mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +01:00
Fix typo in variable name
This commit is contained in:
parent
1a2933793c
commit
45226080e6
1 changed files with 6 additions and 6 deletions
|
@ -49,23 +49,23 @@ public class PacketCollector {
|
||||||
* Creates a new packet collector. If the packet filter is <tt>null</tt>, then
|
* Creates a new packet collector. If the packet filter is <tt>null</tt>, then
|
||||||
* all packets will match this collector.
|
* 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 packetFilter determines which packets will be returned by this collector.
|
||||||
*/
|
*/
|
||||||
protected PacketCollector(Connection conection, PacketFilter packetFilter) {
|
protected PacketCollector(Connection connection, PacketFilter packetFilter) {
|
||||||
this(conection, packetFilter, SmackConfiguration.getPacketCollectorSize());
|
this(connection, packetFilter, SmackConfiguration.getPacketCollectorSize());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new packet collector. If the packet filter is <tt>null</tt>, then
|
* Creates a new packet collector. If the packet filter is <tt>null</tt>, then
|
||||||
* all packets will match this collector.
|
* 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 packetFilter determines which packets will be returned by this collector.
|
||||||
* @param maxSize the maximum number of packets that will be stored in the collector.
|
* @param maxSize the maximum number of packets that will be stored in the collector.
|
||||||
*/
|
*/
|
||||||
protected PacketCollector(Connection conection, PacketFilter packetFilter, int maxSize) {
|
protected PacketCollector(Connection connection, PacketFilter packetFilter, int maxSize) {
|
||||||
this.connection = conection;
|
this.connection = connection;
|
||||||
this.packetFilter = packetFilter;
|
this.packetFilter = packetFilter;
|
||||||
this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize);
|
this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue