commit | 9018e8f66b63390039842a79bd61d181964540b7 | [log] [tgz] |
---|---|---|
author | Sven Selberg <svense@axis.com> | Tue Nov 30 15:33:19 2021 +0100 |
committer | Sven Selberg <svense@axis.com> | Wed Dec 01 11:21:13 2021 +0100 |
tree | b15d23588fd4d23b6b3ca23a480b807c87902c0d | |
parent | c0bc4bdc582ad0c7880538cf51121fae96629ccf [diff] |
Avoid NoSuchElementException "No value present" When parsing the response from Cache#getIfPresent we end up in states where EiffelEventIdCache#getEventIdIfPresent throws NoSuchElementException. Rewrite the conversion from @Nullable Optional<UUID> to Optional<UUID> to be more clear to avoid this or at least get a clear indication of exactly what happens. Solves: Jira GER-1612 Change-Id: I3668c29aa284674a0cf8e36be80162f4d1bf71eb