Skip to content

Commit

Permalink
consistent naming "Crop Option"
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Aug 23, 2024
1 parent 5229e4a commit 07d18f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 07d18f7

Please sign in to comment.