bugfix: Task.tags failed when null was passed
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -220,7 +220,7 @@ public class Task implements Mappable {
|
|||||||
|
|
||||||
public Task tags(Collection<String> newValue){
|
public Task tags(Collection<String> newValue){
|
||||||
tags.clear();
|
tags.clear();
|
||||||
tags.addAll(newValue);
|
if (newValue != null) tags.addAll(newValue);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user