mirror of
https://github.com/SimplexDevelopment/FreedomNetworkSuite.git
synced 2024-11-13 04:33:33 +00:00
Super edited with Notepad++
This commit is contained in:
parent
de1da2bd61
commit
a22f7fb215
@ -36,7 +36,7 @@ public class ContextProvider
|
||||
|
||||
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.
|
||||
if (string.equalsIgnoreCase("true")) return true;
|
||||
if (string.equalsIgnoreCase("false")) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user