Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,13 @@ protected static class SortedProperties extends Properties {
static final long serialVersionUID = -8985316072702233744L;

/** {@inheritDoc} */
@SuppressWarnings({"rawtypes", "unchecked"})
@Override
public Set<Object> keySet() {
Set<Object> keynames = super.keySet();
List list = new ArrayList(keynames);
List<String> list = new ArrayList<>();
for (Object key : keynames) {
list.add((String) key);
}
Collections.sort(list);

return new LinkedHashSet<>(list);
Expand Down
Loading