This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
ForecastIO.hasXXX should also check if XXX is not empty #23
Comments
Would the change in ForecastIO.java look like: |
Yes, that's what I had in mind
…On Wed, Dec 28, 2016, 16:45 James Desmond ***@***.***> wrote:
Would the change in ForecastIO.java look like:
public boolean hasCurrently(){ if(this.currently.isEmpty()) return false;
else return true; }
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAphsUSGOd2h4fUtYDiQgG2Qi4lBGLCeks5rMnYcgaJpZM4IDqbe>
.
|
I just pushed a commit to the dev branch with that change. |
Thanks
…On Wed, Dec 28, 2016, 20:49 David Ervideira ***@***.***> wrote:
I just pushed a commit to the dev branch with that change.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAphsVXFFfrG2DTdDkwAvjaBZS2K0yOHks5rMq9RgaJpZM4IDqbe>
.
|
No problem. I've been setting up CI and unit tests só that changes don't take me so long to do. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently these methods only check if the object is non null, and if so, start querying it.
However if it's not null but empty this will fail. Adding a check of isEmpty will ix it
The text was updated successfully, but these errors were encountered: