private Long id;
private String name;
private String user;
- private Boolean shared = false;
+ private boolean shared = false;
private String description;
private String data;
private Date createdAt;
return this;
}
- public Boolean shared() {
+ public boolean shared() {
return shared;
}
- public DefaultIssueFilter setShared(Boolean shared) {
+ public DefaultIssueFilter setShared(boolean shared) {
this.shared = shared;
return this;
}
String name = params.get("name");
String description = params.get("description");
String data = params.get("data");
- Boolean shared = RubyUtils.toBoolean(params.get("shared"));
+ Boolean sharedParam = RubyUtils.toBoolean(params.get("shared"));
+ boolean shared = sharedParam != null ? sharedParam : false;
if (isUpdate) {
checkMandatoryParameter(id, "id", result);