Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Config.hasPathOrNull and Config.getIsNull #286

Merged
merged 3 commits into from
Mar 25, 2015
Merged

Add Config.hasPathOrNull and Config.getIsNull #286

merged 3 commits into from
Mar 25, 2015

Conversation

havocp
Copy link
Collaborator

@havocp havocp commented Mar 24, 2015

This is for #186 / #282 as an alternative to adding
a ton of getFooOrNull methods. With these methods apps
can handle null or missing settings in a special way
if they see fit.

@havocp havocp mentioned this pull request Mar 24, 2015
This is for #186 / #282 as an alternative to adding
a ton of getFooOrNull methods. With these methods apps
can handle null or missing settings in a special way
if they see fit.
@jroper
Copy link
Member

jroper commented Mar 25, 2015

LGTM

Make these a sixth option in the list of things to
consider if you're looking for the "getOptional" kind
of method.
havocp added a commit that referenced this pull request Mar 25, 2015
Add Config.hasPathOrNull and Config.getIsNull
@havocp havocp merged commit a3c255e into master Mar 25, 2015
@havocp havocp deleted the get-is-null branch March 25, 2015 22:04
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