Commit 2201d40
committed
POM: be defensive if metadata is missing
When comparing POMs, apparently it is possible for groupId,
artifactId and/or version to be missing/null. See:
https://forum.image.sc/t/special-characters-no-longer-allowed-in-script-parameter-declaration/25244/3
Fortunately, Java 8 has a nice functional syntax to help with this.1 parent 421ea3e commit 2201d40
1 file changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
189 | 190 | | |
190 | | - | |
191 | | - | |
192 | | - | |
| 191 | + | |
193 | 192 | | |
194 | | - | |
195 | | - | |
196 | | - | |
| 193 | + | |
197 | 194 | | |
198 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
199 | 200 | | |
200 | 201 | | |
201 | 202 | | |
| |||
0 commit comments