Closed jon4than closed 10 years ago
The IDV encodes hash tables frequently since that's how properties are stored. Is there a difference between a bundle saved with the current code and one saved with your changes?
I saved two bundles (started up the IDV, saved bundle, and quit):
ant idvjar
while in the master
branch.ant idvjar
while in my branch dedicated to this pull request.Running diff on the two shows that the only differences are the UniqueID
values for the views and share groups.
[ I also loaded your moore_ok_tornado.zidv in the testing version without any problems. ]
Everything should Just Work because Hashtable
implements the Map
interface (and XmlEncoder
uses the implementation type!). So if you serialize a Hashtable
, you get a Hashtable
back when you deserialize (same thing for HashMap
and friends).
I've been using these changes in local builds without problems and thought they might be useful for others.
I'm happy to change anything that appears amiss!
:shipit: