Loading src/main/java/com/redfin/sitemapgenerator/GoogleImageSitemapUrl.java +12 −12 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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}*/ Loading Loading
src/main/java/com/redfin/sitemapgenerator/GoogleImageSitemapUrl.java +12 −12 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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}*/ Loading