Fix bad html in hasPathOrNull doc comment

This commit is contained in:
Havoc Pennington 2015-03-24 12:01:09 -04:00
parent 92dc50ea0a
commit 18e30353fd

View File

@ -427,7 +427,7 @@ public interface Config extends ConfigMergeable {
* <p> * <p>
* To handle all three cases (unset, null, and a non-null value) * To handle all three cases (unset, null, and a non-null value)
* the code might look like: * the code might look like:
* <code><pre> * <pre><code>
* if (config.hasPathOrNull(path)) { * if (config.hasPathOrNull(path)) {
* if (config.getIsNull(path)) { * if (config.getIsNull(path)) {
* // handle null setting * // handle null setting
@ -437,7 +437,7 @@ public interface Config extends ConfigMergeable {
* } else { * } else {
* // handle entirely unset path * // handle entirely unset path
* } * }
* </pre></code> * </code></pre>
* *
* <p> However, the usual thing is to allow entirely unset * <p> However, the usual thing is to allow entirely unset
* paths to be a bug that throws an exception (because you set * paths to be a bug that throws an exception (because you set