[MAGNOLIA-3966] AuditLoggingManager#log(String, String[]) should not use NPE for control flow Created: 09/Feb/12  Updated: 13/Mar/12  Resolved: 09/Feb/12

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 4.5

Type: Improvement Priority: Neutral
Reporter: Daniel Lipp Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Calling AuditLoggingManager#log(String, String[]) will internally throw and catch a NPE. This is not good design and can be cumbersome when debugging with a breakPoint on NPE (ton's of unwanted stops e.g. in Tests).


Generated at Mon Feb 12 03:51:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.