Skip to content

Commit 083d6bd

Browse files
authored
Add missing line break to Javadoc of Contract
1 parent 6963421 commit 083d6bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/java/org/jetbrains/annotations/Contract.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
* {@code @Contract("_, null -> null")} - the method returns null if its second argument is null<br>
5252
* {@code @Contract("_, null -> null; _, !null -> !null")} - the method returns null if its second argument is null and not-null otherwise<br>
5353
* {@code @Contract("true -> fail")} - a typical {@code assertFalse} method which throws an exception if {@code true} is passed to it<br>
54-
* {@code @Contract("_ -> this")} - the method always returns its qualifier (e.g. {@link StringBuilder#append(String)}).
54+
* {@code @Contract("_ -> this")} - the method always returns its qualifier (e.g. {@link StringBuilder#append(String)}).<br>
5555
* {@code @Contract("null -> fail; _ -> param1")} - the method throws an exception if the first argument is null,
5656
* otherwise it returns the first argument (e.g. {@code Objects.requireNonNull}).<br>
5757
* {@code @Contract("!null, _ -> param1; null, !null -> param2; null, null -> fail")} - the method returns the first non-null argument,

0 commit comments

Comments
 (0)