From b3b7a305f1278ec414500bf96c4c7a7f634c941b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Thee=C3=9F?= Date: Thu, 15 Sep 2016 13:08:26 +0200 Subject: [PATCH] Dictionary uses stable order. This fixes unit tests. This is upstream pull request #15: https://github.com/ngallagher/simplexml/pull/15 This software is unmaintained, this pull request will no get merged. The patch is modified, to match the directory layout of the tarball. --- src/main/java/org/simpleframework/xml/util/Dictionary.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/simpleframework/xml/util/Dictionary.java b/src/main/java/org/simpleframework/xml/util/Dictionary.java index 077d2514..c7327426 100644 --- a/src/org/simpleframework/xml/util/Dictionary.java +++ b/src/org/simpleframework/xml/util/Dictionary.java @@ -19,8 +19,8 @@ package org.simpleframework.xml.util; import java.util.AbstractSet; -import java.util.HashMap; import java.util.Iterator; +import java.util.LinkedHashMap; /** * The Dictionary object represents a mapped set of entry @@ -134,7 +134,7 @@ public T remove(String name) { * * @see org.simpleframework.xml.util.Entry */ - private static class Table extends HashMap { + private static class Table extends LinkedHashMap { /** * Constructor for the Table object. This will m class='right' method='get' action='/guix/log/ROADMAP'>
o access '%graft?' and related bindings, which are now in (guix store). * gnu/ci.scm, guix/gexp.scm, guix/lint.scm, guix/scripts.scm, guix/scripts/archive.scm, guix/scripts/build.scm, guix/scripts/challenge.scm, guix/scripts/deploy.scm, guix/scripts/environment.scm, guix/scripts/home.scm, guix/scripts/pack.scm, guix/scripts/package.scm, guix/scripts/pull.scm, guix/scripts/size.scm, guix/scripts/system.scm, guix/scripts/weather.scm, tests/builders.scm, tests/channels.scm, tests/cpan.scm, tests/derivations.scm, tests/gexp.scm, tests/graph.scm, tests/guix-daemon.sh, tests/monads.scm, tests/pack.scm, tests/packages.scm, tests/profiles.scm, tests/system.scm: Remove #:use-module (guix grafts).
AgeCommit message (Expand)Author
2016-01-29Rename 'dmd' to 'shepherd' in comments and strings....* build-aux/hydra/demo-os.scm (operating-system)[issue]: Point to shepherd instead of dmd. * ROADMAP: Likewise. * gnu/build/install.scm (directives): Adjust comment. Alex Kost
Ludovic Courtès
2022-07-10monads: Add 'mparameterize'....* etc/system-tests.scm (mparameterize): Move to... * guix/monads.scm (mparameterize): ... here. * tests/monads.scm ("mparameterize"): New test. * .dir-locals.el (c-mode): Add it. Ludovic Courtès