add comment

This commit is contained in:
Xavier Léauté 2014-03-12 10:47:23 -07:00
parent 2ef710191f
commit de55098898
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ public class ConstantPostAggregator implements PostAggregator
@JsonProperty("value") Number constantValue
)
{
// only value should be required for constants
Preconditions.checkNotNull(constantValue, "Constant value must not be null");
this.name = name;
this.constantValue = constantValue;