Skip to content

Commit

Permalink
Sort operations in the c2j model by using TreeMap
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyRyabinin committed Oct 18, 2023
1 parent 7f023f5 commit da0a813
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ void dereferenceShape(Shape topShape) {

void convertOperations() {
allErrors = new HashSet<>();
operations = new LinkedHashMap<>(c2jServiceModel.getOperations().size());
operations = new TreeMap<>();
removedOperations = new HashSet<>();
for (Map.Entry<String, C2jOperation> entry : c2jServiceModel.getOperations().entrySet()) {
if(!entry.getValue().isDeprecated()) {
Expand Down

0 comments on commit da0a813

Please sign in to comment.