Skip to content

Commit

Permalink
Adding section about Null safety
Browse files Browse the repository at this point in the history
  • Loading branch information
jabrena committed Oct 27, 2019
1 parent 13ab353 commit c599c89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Or you could use new ones from Reactor to model your Reactive problems:

The following problems was designed to improve your skills modeling solutions.

### Null safety

In Java accept `null` is a valid `value` although is harmful.
Using JSR-305 meta-annotations like `@NonNull` or using JSR 303 & JSR 380 Bean validations,
you could indicate that your programs only accept Non null objects.

Enjoy the journey!

Juan Antonio Breña Moral
Expand Down
3 changes: 3 additions & 0 deletions REFERENCES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
- https://mermaidjs.github.io/mermaid-live-editor/
- https://mermaidjs.github.io/#/classDiagram
- https://www.manning.com/books/java-8-in-action
- https://jcp.org/en/jsr/detail?id=305
- https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/lang/
- https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/lang/NonNull.html
- https://projectlombok.org/features/NonNull

0 comments on commit c599c89

Please sign in to comment.