MCPcopy Index your code
hub / github.com/davidgiven/luje / getBoolean

Method getBoolean

lib/java/lang/Boolean.java:170–175  ·  view source on GitHub ↗

Returns the boolean value of the system property identified by string. @param string the name of the requested system property. @return true if the system property named by string exists and it is equal to "true" using case insensitive comp

(String string)

Source from the content-addressed store, hash-verified

168 * @see System#getProperty(String)
169 */
170 public static boolean getBoolean(String string) {
171 if (string == null || string.length() == 0) {
172 return false;
173 }
174 return (parseBoolean(System.getProperty(string)));
175 }
176
177 /**
178 * Parses the specified string as a {@code boolean}.

Callers

nothing calls this directly

Calls 3

parseBooleanMethod · 0.95
getPropertyMethod · 0.95
lengthMethod · 0.65

Tested by

no test coverage detected