Boolean.getBoolean("true") returns false

java

Solution

`Boolean.getBoolean()`'s argument expects the name of a system property. What you're looking for is `Boolean.valueOf("true")`

Problem

I'm trying to make function that reads ini file. Why `Boolean.getBoolean("true")` returns `false`? How to use this conversation in correct way in java 1.4? Does it depends on system settings?

Original source