[Megameknet-cvs] MegaMekNET/src/server/campaign/commands BlackBoardCommand.java,1.9,1.10
Status: Inactive
Brought to you by:
mcwizard
From: Immanuel S. <im...@us...> - 2005-04-11 19:13:28
|
Update of /cvsroot/megameknet/MegaMekNET/src/server/campaign/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20235/src/server/campaign/commands Modified Files: BlackBoardCommand.java Log Message: fixed concurent modification bug in blackboard Index: BlackBoardCommand.java =================================================================== RCS file: /cvsroot/megameknet/MegaMekNET/src/server/campaign/commands/BlackBoardCommand.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** BlackBoardCommand.java 26 Mar 2005 12:22:15 -0000 1.9 --- BlackBoardCommand.java 11 Apr 2005 19:13:19 -0000 1.10 *************** *** 108,112 **** SPlayer p = CampaignMain.cm.getPlayer(username); StringBuffer answer = new StringBuffer("BB|"); ! for (Iterator it = CampaignMain.cm.getBlackBoard().allMessages().iterator(); it.hasNext();) { BlackBoardMessage bbm = (BlackBoardMessage) it.next(); SPlayer owner = CampaignMain.cm.getPlayer(bbm.getOwner()); --- 108,112 ---- SPlayer p = CampaignMain.cm.getPlayer(username); StringBuffer answer = new StringBuffer("BB|"); ! for (Iterator it = CampaignMain.cm.getBlackBoard().iterator(); it.hasNext();) { BlackBoardMessage bbm = (BlackBoardMessage) it.next(); SPlayer owner = CampaignMain.cm.getPlayer(bbm.getOwner()); |