Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@domdorn
Copy link
Member

@domdorn domdorn commented Feb 13, 2017

The documentation code was using
return Optional.of(null); instead of Optional.empty();
of(null) would throw a NullPointerException

The documentation code was using 
return Optional.of(null); instead of Optional.empty();
of(null) would throw a NullPointerException
@marcospereira marcospereira merged commit b67d6b1 into playframework:2.5.x Feb 13, 2017
@marcospereira
Copy link
Member

Thanks @domdorn!

Do you mind submitting a new PR against master branch?

@marcospereira marcospereira changed the title Fix documentation code NPE [2.5.x]: Fix documentation code NPE Mar 6, 2017
@marcospereira marcospereira added this to the 2.5.13 milestone Mar 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants