Get the value of a boolean property. Print out the value if logging is enabled.
(String prop)
| 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. |
no test coverage detected