eclipse-equinox / p2

Eclipse Public License 2.0
15 stars 41 forks source link

Fix NPE in AbstractArtifactRepository#hashCode #428

Closed laeubi closed 9 months ago

laeubi commented 9 months ago

if the location is null then the AbstractArtifactRepository#hashCode throws a NPE because it effectively uses the string representation of the URI.

github-actions[bot] commented 9 months ago

Test Results

    9 files  ±0      9 suites  ±0   29m 10s :stopwatch: - 7m 15s 2 183 tests ±0  2 179 :white_check_mark: ±0   4 :zzz: ±0  0 :x: ±0  6 639 runs  ±0  6 628 :white_check_mark: ±0  11 :zzz: ±0  0 :x: ±0 

Results for commit c231795c. ± Comparison against base commit fc74dbbc.

akurtakov commented 9 months ago

Thanks.