Merged BRANCHES/DEV/SWIFT to HEAD:

28466: Fix for ALF-6541. maintainAspectRatio does not default to true as documented.
        Fixed the javadoc to reflect reality.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2011-06-18 15:08:40 +00:00
parent ec055128b7
commit ac7658f463

View File

@@ -92,7 +92,7 @@ public class ImageRenderingEngine extends AbstractTransformationRenderingEngine
* If this parameter is <code>false</code> then the image will be stretched * If this parameter is <code>false</code> then the image will be stretched
* or compressed to fit the given height and width, regardless of the * or compressed to fit the given height and width, regardless of the
* original aspect ratio. <br> * original aspect ratio. <br>
* This parameter defaults to <code>true</code> * This parameter defaults to <code>false</code>
*/ */
public static final String PARAM_MAINTAIN_ASPECT_RATIO = "maintainAspectRatio"; public static final String PARAM_MAINTAIN_ASPECT_RATIO = "maintainAspectRatio";