bugfix: Task.tags failed when null was passed

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-01-12 23:17:22 +01:00
parent 3524bae1d8
commit ac126e9b80

View File

@@ -220,7 +220,7 @@ public class Task implements Mappable {
public Task tags(Collection<String> newValue){
tags.clear();
tags.addAll(newValue);
if (newValue != null) tags.addAll(newValue);
return this;
}