This commit polishes a bit.

Closes gh-30691
This commit is contained in:
Johnny Lim
2023-06-20 00:40:52 +09:00
committed by Sam Brannen
parent b8a713fde3
commit 3be1216897
2 changed files with 7 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ public abstract class YamlProcessor {
* <p>If no supported types are configured, only Java standard classes
* (as defined in {@link org.yaml.snakeyaml.constructor.SafeConstructor})
* encountered in YAML documents will be supported.
* If an unsupported type is encountered, an {@link ComposerException}
* If an unsupported type is encountered, a {@link ComposerException}
* will be thrown when the corresponding YAML node is processed.
* @param supportedTypes the supported types, or an empty array to clear the
* supported types
@@ -180,7 +180,7 @@ public abstract class YamlProcessor {
* <p>If custom {@linkplain #setSupportedTypes supported types} have been configured,
* the default implementation creates a {@code Yaml} instance that filters out
* unsupported types encountered in YAML documents.
* If an unsupported type is encountered, an {@link ComposerException} will be
* If an unsupported type is encountered, a {@link ComposerException} will be
* thrown when the node is processed.
* @see LoaderOptions#setAllowDuplicateKeys(boolean)
*/