Commit cba13d5
committed
Make
The return type of the method `PackageURLBuilder::getQualifiers` should
be an interface, such as `Map`, rather than the implementation `TreeMap`.
This aligns with the return type of the method
`PackageURL::getQualifiers`.
Also, make the return types of this method match the return types of
`PackageURL::getQualifiers`.
Note that this a potentially breaking API change.PackageURLBuilder::getQualifiers return Map
1 parent ee6dda9 commit cba13d5
File tree
2 files changed
+18
-12
lines changed- src
- main/java/com/github/packageurl
- test/java/com/github/packageurl
2 files changed
+18
-12
lines changedLines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
136 | 140 | | |
137 | 141 | | |
138 | 142 | | |
| |||
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
197 | 203 | | |
198 | 204 | | |
199 | 205 | | |
| |||
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
205 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
206 | 214 | | |
207 | 215 | | |
208 | 216 | | |
| |||
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
210 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 215 | | |
218 | 216 | | |
219 | | - | |
| 217 | + | |
0 commit comments