code: protected void validateEqualInteger(Integer i1, Integer i2, String errorKey, String errorMessage) {
  		if (i1 == null || i2 == null || (i1.intValue() != i2.intValue())) {
  			addError(errorKey, errorMessage);
  		}
  	}
docs: Validate equal integer.