berry120 opened a new pull request #256: URL: https://github.com/apache/commons-collections/pull/256
At present the `SortedProperties` class overrides & sorts in the `keys()` method, but not the `entrySet()` method. This leads to inconsistencies depending on how the properties are retrieved (for example, when calling `write()` to write the properties to a file, Java 8 uses `keyset()` but Java 11+ uses `entrySet()` - same for other methods like `list()`.) This PR guarantees the same ordering on `keys()` as `entrySet()`, removing this inconsistency. (First contribution to this repository, so please feel free to point me in the correct direction if something is wrong!) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org