[jira] Created: (OFBIZ-776) Couple of misc. fixes i.e. unused return values leading to bugs, type in assignment

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-776-Couple-of-misc-fixes-i-e-unused-return-values-leading-to-bugs-type-in-assignmt-tp178860.html

Couple of misc. fixes i.e. unused return values leading to bugs, type in assignment
-----------------------------------------------------------------------------------

                 Key: OFBIZ-776
                 URL: https://issues.apache.org/jira/browse/OFBIZ-776
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
    Affects Versions: SVN trunk
            Reporter: Stefan Huehner
            Priority: Minor
         Attachments: ofbiz_misc1.diff

Hi,
patch corrects some misc. issues i noticed:
- string.trim() and string.concat() do not modify the object they are called upon, but rather return the modifed string as a result.
- in the ShoppingCartItem constructor an assignment had no effect but looked like a type.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.