We use revision control (git) for our GEOSERVER_DATA_DIR and have noticed that some (most?) Map instances persisted using o.g.c.u.XStreamPersister result in nondeterministic sorting order. Would there be any objections to a PR with a modification to XStreamPersister.BreifMapConverter [sic] to convert any Map instance that’s not a SortedMap or LinkedHashMap (others?) to a TreeMap just before persistence? This isolate localize the change and reduce the number of spurious diffs we are seeing.
We use revision control (git) for our GEOSERVER_DATA_DIR and have noticed that some (most?) Map instances persisted using o.g.c.u.XStreamPersister result in nondeterministic sorting order. Would there be any objections to a PR with a modification to XStreamPersister.BreifMapConverter [sic] to convert any Map instance that’s not a SortedMap or LinkedHashMap (others?) to a TreeMap just before persistence? This isolate localize the change and reduce the number of spurious diffs we are seeing.