tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 58564] Simplify Boolean.parseBoolean(System.getProperty("xxx"), "false") to Boolean.getBoolean("xxx")
Date Thu, 29 Oct 2015 14:45:07 GMT

Konstantin Kolinko <> changed:

           What    |Removed                     |Added
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Konstantin Kolinko <> ---
Boolean.parseBoolean(System.getProperty("xxx"), "false") explicitly shows that
the default is "false". Using Boolean.getBoolean() hides this fact. Unlike
similar methods elsewhere, there is no 2-arguments variant of this method to
provide an explicit default.

The default value can be different in different versions of Tomcat. It is
better to cleanly see what is the actual default value.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message