Commit 0c83223
committed
Improve version grouping to handle duplicate models
Updated the groupByVersion method to use a LinkedHashMap for collecting models by their URN, ensuring duplicates are removed before grouping by version. This change improves the accuracy of version grouping when duplicate models are present.1 parent 53bbc1b commit 0c83223
File tree
1 file changed
+16
-3
lines changed- aspect-model-editor-service/src/main/java/org/eclipse/esmf/ame/services/utils
1 file changed
+16
-3
lines changedLines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
109 | 122 | | |
110 | 123 | | |
0 commit comments