[ 
https://issues.apache.org/jira/browse/FELIX-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898642#comment-17898642
 ] 

Konrad Windszus commented on FELIX-6736:
----------------------------------------

Ordered dictionary just keeps the insertion order, but is not necessarily 
alphabetical!

> org.apache.felix.cm.json.io.ConfigurationWriter.writeConfiguration(...) 
> should emit properties in alphabetical order
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-6736
>                 URL: https://issues.apache.org/jira/browse/FELIX-6736
>             Project: Felix
>          Issue Type: Improvement
>          Components: Configuration Admin
>    Affects Versions: cm.json-2.0.6
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Currently the order is being based on the given {{Dictionary}} in 
> https://github.com/apache/felix-dev/blob/958c28de32db1ec062b273b4c0e5faa9a70a87b6/cm.json/src/main/java/org/apache/felix/cm/json/io/impl/ConfigurationWriterImpl.java#L92.
> Not sure if alphabetical order should be opt-in or default behaviour though.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to