You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "vasiliy-mikhailov (via GitHub)" <gi...@apache.org> on 2026/06/27 03:22:01 UTC
[PR] Return Boolean.FALSE for "off" in StringUtils.toBoolean [dubbo]
vasiliy-mikhailov opened a new pull request, #16357:
URL: https://github.com/apache/dubbo/pull/16357
`StringUtils.toBoolean` maps `"off"` to `Boolean.TRUE`, which inverts the value — `"off"` should be `false`. It now returns `Boolean.FALSE`, consistent with the other negative tokens (`false` / `no` / `0` / `n`).
Added a test covering the full set of boolean tokens.
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Return Boolean.FALSE for "off" in StringUtils.toBoolean [dubbo]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw commented on PR #16357:
URL: https://github.com/apache/dubbo/pull/16357#issuecomment-4830431700
already fixed by https://github.com/apache/dubbo/pull/16348
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [PR] Return Boolean.FALSE for "off" in StringUtils.toBoolean [dubbo]
Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw closed pull request #16357: Return Boolean.FALSE for "off" in StringUtils.toBoolean
URL: https://github.com/apache/dubbo/pull/16357
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org