mirror of
https://github.com/lightbend/config.git
synced 2025-03-22 15:20:26 +08:00
Fix bad html in hasPathOrNull doc comment
This commit is contained in:
parent
92dc50ea0a
commit
18e30353fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user