Skip to content

Commit 2c83ce4

Browse files
committed
Reinstated "views" element
1 parent 6ec77d3 commit 2c83ce4

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
@@ -78,6 +78,7 @@ public static final Photo createPhoto(Element photoElement, Element defaultEleme
7878
photo.setMedia(photoElement.getAttribute("media"));
7979
photo.setMediaStatus(photoElement.getAttribute("media_status"));
8080
photo.setPathAlias(photoElement.getAttribute("pathalias"));
81+
photo.setViews(photoElement.getAttribute("views"));
8182

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

0 commit comments

Comments
 (0)