From: Stefan F. <ste...@us...> - 2010-03-23 18:46:11
|
Update of /cvsroot/rails/18xx/rails/game/correct In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10916/rails/game/correct Modified Files: CashCorrectionManager.java Log Message: Implementation of Rails junit testing. More details see mail to the develop list. Index: CashCorrectionManager.java =================================================================== RCS file: /cvsroot/rails/18xx/rails/game/correct/CashCorrectionManager.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CashCorrectionManager.java 10 Mar 2010 21:02:22 -0000 1.3 --- CashCorrectionManager.java 23 Mar 2010 18:45:40 -0000 1.4 *************** *** 20,24 **** public static CorrectionManager getInstance(GameManager gm) { ! if (ccm == null) { ccm = new CashCorrectionManager(); ccm.gameManager = gm; --- 20,24 ---- public static CorrectionManager getInstance(GameManager gm) { ! if (ccm == null || ccm.gameManager != gm) { ccm = new CashCorrectionManager(); ccm.gameManager = gm; |