Skip to content

Keep config item order in ConfigObject #365

Open
@WilliamStone

Description

@WilliamStone

In version 1.3.0 the map implementation used in ConfigObject is HashMap, which doesn't keep entry order. LinkedHashMap keeps order without significant performance hit. In certain cases config item order is important or very convenient to perform certain user control via config file. And keeping item order has no obvious harm IMHO. So I suggest replace HashMap by LinkedHashMap in ConfigObject.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions