Skip to content

Commit

Permalink
Fix format issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinfish committed Feb 18, 2019
1 parent 35350b4 commit 5632b41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private GalleryImageVersion getGalleryImageLatestVersion(String galleryResourceG
}
GalleryImageVersion latestVersion = galleryImageVersions.get(0);
for (int i = 1; i < galleryImageVersions.size(); i++) {
DateTime currentPublishedDate= latestVersion.publishingProfile().publishedDate();
DateTime currentPublishedDate = latestVersion.publishingProfile().publishedDate();
if (galleryImageVersions.get(i).publishingProfile().publishedDate().compareTo(currentPublishedDate) > 0) {
latestVersion = galleryImageVersions.get(i);
}
Expand Down

0 comments on commit 5632b41

Please sign in to comment.