add missing if
@@ -602,10 +602,12 @@ public class Schema implements ImmutableSchema {
for (var already : summaryFields) {
if (summaryField == already) wanted = false;
}
+ if (wanted) {
summaryFields.add(summaryField);
}
}
}
+ }
return summaryFields;
}
