MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getBoolean

Method getBoolean

src/main/java/net/optifine/BetterGrass.java:306–310  ·  view source on GitHub ↗
(Properties props, String key, boolean def)

Source from the content-addressed store, hash-verified

304 }
305
306 private static boolean getBoolean(Properties props, String key, boolean def)
307 {
308 String s = props.getProperty(key);
309 return s == null ? def : Boolean.parseBoolean(s);
310 }
311}

Callers 1

loadPropertiesMethod · 0.95

Calls 2

getPropertyMethod · 0.45
parseBooleanMethod · 0.45

Tested by

no test coverage detected