Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webdav: return empty list instead of null as an empty collection
Motivation: Dispite the fact, that milton library aims that 'null' and 'empty list' are equivalent, in reality, it has different behavior, which ends up with NullPointerException. See miltonio/milton2#184 Modification: Update DcacheDirectoryResource#getChildren to return an empty collection instead of 'null'. Result: The observed NPE should disappear (no reproducer :( ) Fixes: #7035 Ticket: #10447 Acked-by: Paul Millar Target: master, 9.0, 8.2 Require-book: no Require-notes: yes (cherry picked from commit 138b0ca) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information