Skip to content

Commit

Permalink
validate detailed_case booleans so cannot be null
Browse files Browse the repository at this point in the history
  • Loading branch information
grapigeau committed Nov 15, 2024
1 parent f3866a2 commit aeed5c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public boolean isQcFailed() {
public static class Builder {

private String id;
private boolean supplemental;
private Boolean supplemental;
private Boolean qcFailed;

public ShesmuSample build() {
Expand All @@ -54,7 +54,7 @@ public Builder id(String id) {
return this;
}

public Builder supplemental(boolean supplemental) {
public Builder supplemental(Boolean supplemental) {
this.supplemental = supplemental;
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public Set<ShesmuSample> getLimsIds() {
return limsIds;
}

public Boolean isComplete() {
public boolean isComplete() {
return complete;
}

Expand All @@ -52,7 +52,7 @@ public static class Builder {
private String test;
private Set<ShesmuSample> limsIds;
private MetricCategory type;
private boolean complete;
private Boolean complete;

public ShesmuSequencing build() {
return new ShesmuSequencing(this);
Expand All @@ -73,7 +73,7 @@ public Builder limsIds(Set<ShesmuSample> limsIds) {
return this;
}

public Builder complete(boolean complete) {
public Builder complete(Boolean complete) {
this.complete = complete;
return this;
}
Expand Down

0 comments on commit aeed5c2

Please sign in to comment.