Skip to content
Snippets Groups Projects
Commit f6e4dfb7 authored by htmoss2's avatar htmoss2
Browse files

Merge branch 'code_smells_iteration_3.2' into 'master'

[backend] bug fix to resolve nullpointer in constructor

See merge request !28
parents 4aff9df6 ed1e8077
No related branches found
No related tags found
1 merge request!28[backend] bug fix to resolve nullpointer in constructor
......@@ -91,9 +91,13 @@ public class DiagnosisStatisticsBean {
this.zipStats = zipStats;
this.regionStats = regionStats;
this.stateStats = stateStats;
this.allStats = allStats;
this.startDate = (Date) startDate.clone();
this.endDate = (Date) endDate.clone();
this.allStats = allStats;
if (startDate != null) {
this.startDate = (Date) startDate.clone();
}
if (endDate != null) {
this.endDate = (Date) endDate.clone();
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment