From: Hendrik B. <nh...@us...> - 2010-06-15 20:32:13
|
Update of /cvsroot/arianne/marauroa/src/marauroa/server/db/command In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv1444/src/marauroa/server/db/command Modified Files: DBCommandQueue.java Log Message: fixed a bug removing elements from the result queue that have the same class as the requested one Index: DBCommandQueue.java =================================================================== RCS file: /cvsroot/arianne/marauroa/src/marauroa/server/db/command/DBCommandQueue.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** DBCommandQueue.java 24 Apr 2010 18:19:52 -0000 1.7 --- DBCommandQueue.java 15 Jun 2010 20:32:03 -0000 1.8 *************** *** 110,116 **** DBCommand command = metaData.getCommand(); if (clazz.isAssignableFrom(command.getClass())) { ! if (metaData.getResultHandle() == handle) ! res.add((T) command); ! itr.remove(); } } --- 110,117 ---- DBCommand command = metaData.getCommand(); if (clazz.isAssignableFrom(command.getClass())) { ! if (metaData.getResultHandle() == handle) { ! res.add((T) command); ! itr.remove(); ! } } } |