Skip to content

Commit cb9f56a

Browse files
author
Darren Greaves
committed
Merge pull request boncey#101 from E-Penguin/patch-3
Reinstated "views" element
2 parents 424864c + 2c83ce4 commit cb9f56a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Flickr4Java/src/main/java/com/flickr4java/flickr/photos/PhotoUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public static final Photo createPhoto(Element photoElement, Element defaultEleme
7979
photo.setMedia(photoElement.getAttribute("media"));
8080
photo.setMediaStatus(photoElement.getAttribute("media_status"));
8181
photo.setPathAlias(photoElement.getAttribute("pathalias"));
82+
photo.setViews(photoElement.getAttribute("views"));
8283

8384
Element peopleElement = (Element) photoElement.getElementsByTagName("people").item(0);
8485
if(peopleElement != null){

0 commit comments

Comments
 (0)