Update Size.java by Linus12 · Pull Request #143 · boncey/Flickr4Java · GitHub
Skip to content

Update Size.java - #143

Merged
boncey merged 1 commit into
boncey:masterfrom
Linus12:master
Aug 2, 2015
Merged

boncey merged 1 commit into
boncey:masterfrom
Linus12:master

Conversation

@Linus12

@Linus12 Linus12 commented Jul 4, 2015

Copy link
Copy Markdown
Contributor

Flickr API now returns empty string for some height and widths of valid videos. Unfortunately the Size routines only checks for nulls. This validates that both the height and width are not null and not empty before converting the string values to a number.

boncey pushed a commit that referenced this pull request Aug 2, 2015
@boncey
boncey merged commit 281049e into boncey:master Aug 2, 2015
@boncey

boncey commented Aug 2, 2015

Copy link
Copy Markdown
Owner

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