Skip to content

Commit

Permalink
GRAD2-2958
Browse files Browse the repository at this point in the history
User Distribution Run downloaded report files are empty
  • Loading branch information
arybakov-cgi committed Sep 13, 2024
1 parent 37bea9b commit 086a831
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import ca.bc.gov.educ.api.gradstudent.util.EducGradStudentApiConstants;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.gson.Gson;
import lombok.Builder;
import lombok.Data;
Expand Down Expand Up @@ -85,6 +86,7 @@ public String toJson() {
return new Gson().toJson(this);
}

@JsonIgnore
public boolean isEmpty() {
return (schoolOfRecords == null || schoolOfRecords.isEmpty()) &&
(districts == null || districts.isEmpty()) &&
Expand Down

0 comments on commit 086a831

Please sign in to comment.