Revision: 12354
http://gate.svn.sourceforge.net/gate/?rev=12354&view=rev
Author: ian_roberts
Date: 2010-03-14 17:26:48 +0000 (Sun, 14 Mar 2010)
Log Message:
-----------
Modified PersistenceManager to make loadObjectFromURL and saveObjectToFile
re-entrant and thread-safe. Rather than single static variables for the
current file being loaded or saved and the current map of persistent to
transient instances (or vice-versa) we now use a thread-local stack. This
means it is now safe for a PR to call the PersistenceManager in its init()
method, which would previously have caused unpredictable behaviour (or maybe a
null pointer exception) when loading such a PR from a saved application state.
Modified Paths:
--------------
gate/trunk/src/gate/util/persistence/PersistenceManager.java
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs