dscham opened a new pull request #502: Added 1 and 0 in toBooleanObject(final String str) URL: https://github.com/apache/commons-lang/pull/502 I stubmled over this during the week and am wondering why 1 and 0 are not a default true and false representation. So I created this PR. I'm not strongly opnionated about it. So if there is a good reason for 1 and 0 not beeing a good case here, feel free to close it. I think, parsing the string to an int before calling toBoolean is unnecessary. And it should be common enough that you don't have to call: toBooleanObject(final String str, final String trueString, final String falseString, final String nullString)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
