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 6aef499 commit c795c46
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ public class StudentSearchRequest implements Serializable {
String localDownload;

public boolean isEmpty() {
return schoolOfRecords.isEmpty() &&
districts.isEmpty() &&
schoolCategoryCodes.isEmpty() &&
pens.isEmpty() &&
studentIDs.isEmpty() &&
programs.isEmpty();
return (schoolOfRecords == null || schoolOfRecords.isEmpty()) &&
(districts == null || districts.isEmpty()) &&
(schoolCategoryCodes == null || schoolCategoryCodes.isEmpty()) &&
(pens == null || pens.isEmpty()) &&
(studentIDs == null || studentIDs.isEmpty());
}

}

0 comments on commit c795c46

Please sign in to comment.