RFR: Fix NPE in 'notes' filter after SKARA-1316

Kevin Rushforth kcr at openjdk.java.net
Wed Jan 19 19:27:43 UTC 2022


On Wed, 19 Jan 2022 19:22:10 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> The fix for SKARA-1316 resulted in NPE in several cases. It appears the field "target_type" is often explicitly set to null. To mitigate this, I added a null check and moved this filter a bit lower in the order (so we only apply it to notes that are a bit closer to what we want).

Marked as reviewed by kcr (Reviewer).

-------------

PR: https://git.openjdk.java.net/skara/pull/1277


More information about the skara-dev mailing list