typesafehub/config — pull request #47 by efuquen (2012-10-12 20:05:01+00:00)
Title: Supports numbers configured that are bigger then Long limits

Will create a BigInteger if the number parsed from the config goes outside the limits of the long type. I'm catching the NumberFormatException, ideally a regex check would probably be more performant but I'm not sure the exact regex Java would be using parsing the int to throw the exception. By using the NumberFormatException I'm guaranteeing I'm conforming to java's spec of what is a long.

Also, I might be missing a few test cases, I added what I could see needed checking.