Commit 14bc04c0 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fix: PDCIStatistics#merge should ignore null input

parent 898cb7e0
......@@ -144,11 +144,12 @@ public class PDCIStatistics implements Serializable {
public PDCIStatistics merge(PDCIStatistics other) {
if (other != null) {
updateCountAndAvg(other.getCount(), other.getAvg());
return this;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment