Skip to content

Commit a443416

Browse files
committed
found more br tags with a slash
1 parent e8a7b4b commit a443416

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

schemas-parse/src/main/java/org/cedar/schemas/parse/DefaultParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,15 +278,15 @@ private static boolean discoveryListEmpty(ParsedRecord.Builder builder, Function
278278

279279
/**
280280
* <em>IMPORTANT!!</em>
281-
* <br/>
281+
* <br>
282282
* Apparently functions on an Avro builder which return a builder for a nested object,
283283
* for example {@link ParsedRecord.Builder#getDiscoveryBuilder}, are not always null-safe!
284-
* <br/>
284+
* <br>
285285
* If that nested object is nullable, and you built the {@code ParsedRecord} builder from another {@code ParsedRecord}
286286
* instance with {@link ParsedRecord#newBuilder(ParsedRecord)}, then it'll set {@code null} as the value
287287
* for the {@code Discovery} object, which will cause {@link ParsedRecord.Builder#hasDiscovery()} to return {@code true}
288288
* since the {@code Discovery} object was technically set (even though it was set to {@code null}).
289-
* <br/>
289+
* <br>
290290
* The result in that case is that {@link ParsedRecord.Builder#getDiscoveryBuilder()} throws a {@link NullPointerException}.
291291
* This function will check whether the {@code Discovery} is null and create a {@code Discovery.Builder} safely.
292292
*

0 commit comments

Comments
 (0)