joschi/JadConfig — Issue #1: Validators should trim leading and trailing whitespaces before validating
Author: lennartkoopmann
Created: 2011-10-30 22:35:55+00:00
State: open

If there is a leading or trailing whitespace in the value you are validating, it will fail:

com.github.joschi.jadconfig.ValidationException: Parameter messages_collection_size should be a positive number (found 50000000 )

I suggest always removing/trimming leading and trailing whitespaces.

Corresponding Graylog2 issue: http://jira.graylog2.org/browse/SERVER-59