--- projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/PacketSorter.java 2001/02/28 10:26:47 1.8 +++ projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/PacketSorter.java 2001/03/01 02:14:37 1.9 @@ -16,7 +16,7 @@ import java.util.*; * hosts it would like to listen for. * * @author $Author: tdb $ - * @version $Id: PacketSorter.java,v 1.8 2001/02/28 10:26:47 tdb Exp $ + * @version $Id: PacketSorter.java,v 1.9 2001/03/01 02:14:37 tdb Exp $ */ class PacketSorter extends Thread { @@ -25,7 +25,7 @@ class PacketSorter extends Thread { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.8 $"; + public final String REVISION = "$Revision: 1.9 $"; //---STATIC METHODS--- @@ -75,7 +75,7 @@ class PacketSorter extends Thread { // look in the hostMap to see if anyone wants this data if(_hostMap.containsKey(host)) { - LinkedList list = (LinkedList) _hostMap.get(host); + List list = (List) _hostMap.get(host); Iterator i = list.iterator(); // push the data to the listening Handler's queue while(i.hasNext()) { @@ -127,7 +127,7 @@ class PacketSorter extends Thread { // see if we already have a list in the map for this host if(_hostMap.containsKey(host)) { // we do, so add to it - LinkedList list = (LinkedList) _hostMap.get(host); + List list = (List) _hostMap.get(host); list.add(dhQueue); } else { @@ -165,7 +165,7 @@ class PacketSorter extends Thread { // this should in reality always be true, but best check if(_hostMap.containsKey(host)) { // get the list and remove the host in question - LinkedList list = (LinkedList) _hostMap.get(host); + List list = (List) _hostMap.get(host); list.remove(dhQueue); // if the list is now empty, we might as well remove it if(list.size()==0) {