comparison src/myVncProxy/MulticastQueue.java @ 183:1f583d6e0d1a

modify MulticastQueue.java : method poll()
author e085711
date Tue, 25 Oct 2011 17:33:47 +0900
parents db5f735fd2b4
children
comparison
equal deleted inserted replaced
182:8a0e30e527e7 183:1f583d6e0d1a
41 try { 41 try {
42 next = node.next(); 42 next = node.next();
43 }catch(InterruptedException _e){ 43 }catch(InterruptedException _e){
44 continue; 44 continue;
45 } 45 }
46 item = node.getItem(); 46 // item = node.getItem();
47 item = next.getItem();
47 node = next; 48 node = next;
48 } while ( item == null); 49 } while ( item == null);
49 return item; 50 return item;
50 } 51 }
51 } 52 }