Commit 8bf068ac authored by Lakshay Bhambri's avatar Lakshay Bhambri Committed by GitHub
Browse files

Update GoogleImageSitemapUrl.java

parent ae3ae4bb
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -90,8 +90,8 @@ public class GoogleImageSitemapUrl extends WebSitemapUrl {
	/** Configures the url with options */
	public GoogleImageSitemapUrl(Options options) {
		super(options);
		locationUrl = options.locationUrl;
		if (locationUrl == null) {
		imageUrl = options.imageUrl;
		if (imageUrl == null) {
			throw new RuntimeException("You must specify a location url for the image");
		}
		licenseUrl = options.licenseUrl;
@@ -107,8 +107,8 @@ public class GoogleImageSitemapUrl extends WebSitemapUrl {
	
	
	/** Retrieves the {@link Options#locationUrl}*/
	public URL getLocationUrl() {
		return locationUrl;
	public URL getImageUrl() {
		return imageUrl;
	}
  
  /** Retrieves the {@link Options#licenseUrl}*/