MCPcopy Create free account
hub / github.com/M66B/FairEmail / getBoolProp

Method getBoolProp

app/src/main/java/com/sun/mail/pop3/Protocol.java:173–179  ·  view source on GitHub ↗

Get the value of a boolean property. Print out the value if logging is enabled.

(Properties props,
				String prop)

Source from the content-addressed store, hash-verified

171 * Print out the value if logging is enabled.
172 */
173 private final synchronized boolean getBoolProp(Properties props,
174 String prop) {
175 boolean val = PropUtil.getBooleanProperty(props, prop, false);
176 if (logger.isLoggable(Level.CONFIG))
177 logger.config(prop + ": " + val);
178 return val;
179 }
180
181 private void initStreams() throws IOException {
182 boolean quote = PropUtil.getBooleanProperty(props,

Callers 2

ProtocolMethod · 0.95

Calls 3

getBooleanPropertyMethod · 0.95
configMethod · 0.80
isLoggableMethod · 0.45

Tested by

no test coverage detected