Skip to content

Commit

Permalink
Merge pull request #70 from rillig/patch-1
Browse files Browse the repository at this point in the history
Add missing line break to Javadoc of Contract
  • Loading branch information
amaembo committed Jun 22, 2022
2 parents 6963421 + 083d6bd commit 719763a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -51,7 +51,7 @@
* {@code @Contract("_, null -> null")} - the method returns null if its second argument is null<br>
* {@code @Contract("_, null -> null; _, !null -> !null")} - the method returns null if its second argument is null and not-null otherwise<br>
* {@code @Contract("true -> fail")} - a typical {@code assertFalse} method which throws an exception if {@code true} is passed to it<br>
* {@code @Contract("_ -> this")} - the method always returns its qualifier (e.g. {@link StringBuilder#append(String)}).
* {@code @Contract("_ -> this")} - the method always returns its qualifier (e.g. {@link StringBuilder#append(String)}).<br>
* {@code @Contract("null -> fail; _ -> param1")} - the method throws an exception if the first argument is null,
* otherwise it returns the first argument (e.g. {@code Objects.requireNonNull}).<br>
* {@code @Contract("!null, _ -> param1; null, !null -> param2; null, null -> fail")} - the method returns the first non-null argument,
Expand Down

0 comments on commit 719763a

Please sign in to comment.