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

Method getBoolProp

app/src/main/java/com/sun/mail/pop3/POP3Store.java:153–160  ·  view source on GitHub ↗

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

(String prop)

Source from the content-addressed store, hash-verified

151 * Print out the value if logging is enabled.
152 */
153 private final synchronized boolean getBoolProp(String prop) {
154 prop = "mail." + name + "." + prop;
155 boolean val = PropUtil.getBooleanProperty(session.getProperties(),
156 prop, false);
157 if (logger.isLoggable(Level.CONFIG))
158 logger.config(prop + ": " + val);
159 return val;
160 }
161
162 /**
163 * Get a reference to the session.

Callers 1

POP3StoreMethod · 0.95

Calls 4

getBooleanPropertyMethod · 0.95
getPropertiesMethod · 0.80
configMethod · 0.80
isLoggableMethod · 0.45

Tested by

no test coverage detected