Thread: [Megameknet-cvs] MegaMekNET/src/server/campaign/visitor SXMLSaveVisitor.java,1.13,1.14
Status: Inactive
Brought to you by:
mcwizard
From: Immanuel S. <im...@us...> - 2005-04-11 20:19:24
|
Update of /cvsroot/megameknet/MegaMekNET/src/server/campaign/visitor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29133/src/server/campaign/visitor Modified Files: SXMLSaveVisitor.java Log Message: corrected synchronized. Index: SXMLSaveVisitor.java =================================================================== RCS file: /cvsroot/megameknet/MegaMekNET/src/server/campaign/visitor/SXMLSaveVisitor.java,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** SXMLSaveVisitor.java 11 Apr 2005 20:01:28 -0000 1.13 --- SXMLSaveVisitor.java 11 Apr 2005 20:19:16 -0000 1.14 *************** *** 55,58 **** --- 55,62 ---- public class SXMLSaveVisitor extends XMLSaveVisitor implements ServerVisitor, Visitor { + /** + * Lock all saving against the same lock. No two threads may ever access the + * same files. + */ private static Object lock = new Object(); |