RFR: Fix NPE in 'notes' filter after SKARA-1316
Erik Joelsson
erikj at openjdk.java.net
Wed Jan 19 19:27:43 UTC 2022
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).
-------------
Commit messages:
- Fix NPE in 'notes' filter
Changes: https://git.openjdk.java.net/skara/pull/1277/files
Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=1277&range=00
Stats: 5 lines in 1 file changed: 3 ins; 2 del; 0 mod
Patch: https://git.openjdk.java.net/skara/pull/1277.diff
Fetch: git fetch https://git.openjdk.java.net/skara pull/1277/head:pull/1277
PR: https://git.openjdk.java.net/skara/pull/1277
More information about the skara-dev
mailing list