|
@@ -66,7 +66,7 @@ public class WeightStatsReport implements CommonStats<CombineResult> {
|
|
|
}
|
|
}
|
|
|
for (CombineResult combineResult : genderResults) {
|
|
for (CombineResult combineResult : genderResults) {
|
|
|
String weight = combineResult.getWeight();
|
|
String weight = combineResult.getWeight();
|
|
|
- if(CharSequenceUtil.isBlank(weight)){
|
|
|
|
|
|
|
+ if(CharSequenceUtil.isNullOrUndefined(weight)){
|
|
|
ageMap.merge(WeightRangeEnum.unkown,1,(t1, t2)->t1+t2);
|
|
ageMap.merge(WeightRangeEnum.unkown,1,(t1, t2)->t1+t2);
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
@@ -98,7 +98,7 @@ public class WeightStatsReport implements CommonStats<CombineResult> {
|
|
|
}
|
|
}
|
|
|
for (CombineResult combineResult : results) {
|
|
for (CombineResult combineResult : results) {
|
|
|
String weight = combineResult.getWeight();
|
|
String weight = combineResult.getWeight();
|
|
|
- if(CharSequenceUtil.isBlank(weight)){
|
|
|
|
|
|
|
+ if(CharSequenceUtil.isNullOrUndefined(weight)){
|
|
|
ageMap.merge(WeightRangeEnum.unkown,1,(t1, t2)->t1+t2);
|
|
ageMap.merge(WeightRangeEnum.unkown,1,(t1, t2)->t1+t2);
|
|
|
}
|
|
}
|
|
|
try {
|
|
try {
|