Super edited with Notepad++

This commit is contained in:
Paul Reilly 2023-06-09 21:18:29 -05:00
parent de1da2bd61
commit a22f7fb215

View File

@ -36,7 +36,7 @@ public class ContextProvider
private @Nullable Boolean toBoolean(final String string) private @Nullable Boolean toBoolean(final String string)
{ {
// Previously we used Boolean#parseBoolean, but that will always return a value and does not throwl // Previously we used Boolean#parseBoolean, but that will always return a value and does not throw
// an exception. This means that if the string is not "true" or "false", it will return false. // an exception. This means that if the string is not "true" or "false", it will return false.
if (string.equalsIgnoreCase("true")) return true; if (string.equalsIgnoreCase("true")) return true;
if (string.equalsIgnoreCase("false")) return false; if (string.equalsIgnoreCase("false")) return false;