From 07d18f72b936ad2d6f71963ac3d9395aaf205ac5 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Fri, 23 Aug 2024 13:27:29 +0200 Subject: [PATCH] consistent naming "Crop Option" --- .../impl/weboptimized/WebOptimizedImageDeliveryService.java | 4 ++-- .../weboptimized/WebOptimizedImageDeliveryServiceImpl.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryService.java b/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryService.java index b8d7370e..159373f7 100644 --- a/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryService.java +++ b/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryService.java @@ -37,8 +37,8 @@ public interface WebOptimizedImageDeliveryService { boolean isEnabled(); /** - * Cropping option to use. - * @return Cropping option + * Crop option to use. + * @return Crop option */ WebOptimizedImageDeliveryCropOption getCropOption(); diff --git a/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryServiceImpl.java b/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryServiceImpl.java index e2ddd3d2..1494f2d0 100644 --- a/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryServiceImpl.java +++ b/src/main/java/io/wcm/handler/mediasource/dam/impl/weboptimized/WebOptimizedImageDeliveryServiceImpl.java @@ -56,7 +56,7 @@ public class WebOptimizedImageDeliveryServiceImpl implements WebOptimizedImageDe boolean enabled() default true; @AttributeDefinition( - name = "Cropping Option", + name = "Crop Option", description = "Use relative cropping parameters (e.g. crop=0.0p,5.0p,100.0p,80.0p) " + "or absolute cropping paremters (e.g. crop=0,10,200,100), both based on the original image dimensions.") WebOptimizedImageDeliveryCropOption cropOption() default WebOptimizedImageDeliveryCropOption.RELATIVE_PARAMETERS;