Removes the track of the number of packets read.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2165 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Gaston Dombiak 2003-11-12 17:49:07 +00:00 committed by gdombiak
parent cc5802998f
commit 870eb08da3
1 changed files with 0 additions and 14 deletions

View File

@ -95,8 +95,6 @@ class PacketReader {
private String connectionID = null;
private Object connectionIDLock = new Object();
private int packetsRead = 0;
protected PacketReader(XMPPConnection connection) {
this.connection = connection;
@ -171,15 +169,6 @@ class PacketReader {
}
}
/**
* Returns the number of packets read by the packet reader.
*
* @return the number of packets read by the packet reader.
*/
public int getPacketsRead() {
return packetsRead;
}
/**
* Starts the packet reader thread and returns once a connection to the server
* has been established. A connection will be attempted for a maximum of five
@ -342,9 +331,6 @@ class PacketReader {
return;
}
// Increment the number of packets read.
packetsRead++;
// Remove all null values from the collectors list.
synchronized (collectors) {
for (int i=collectors.size()-1; i>=0; i--) {