[jira] [Updated] (OFBIZ-9629) [FB] Package org.apache.ofbiz.common.image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-9629) [FB] Package org.apache.ofbiz.common.image

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Balkir updated OFBIZ-9629:
---------------------------------
    Attachment: OFBIZ-9629_org.apache.ofbiz.common.image_bugfixes.patch

- Diamond Operators fixed
- Line 119: removed {{toString}} because {{get(„height“)}} returns a string
- Line 124: removed the {{toString}} because {{get(„width“)}} returns a string


> [FB] Package org.apache.ofbiz.common.image
> ------------------------------------------
>
>                 Key: OFBIZ-9629
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9629
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Dennis Balkir
>            Priority: Minor
>         Attachments: OFBIZ-9629_org.apache.ofbiz.common.image_bugfixes.patch
>
>
> - ImageTransform.java:119, DM_STRING_TOSTRING
> Dm: org.apache.ofbiz.common.image.ImageTransform.scaleImage(BufferedImage, double, double, Map, String, Locale) invokes toString() method on a String
> Calling String.toString() is just a redundant operation. Just use the String.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)