ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Balkir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-9629) [FB] Package org.apache.ofbiz.common.image
Date Fri, 25 Aug 2017 12:55:00 GMT

     [ 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)

Mime
View raw message