[jira] Created: (OFBIZ-536) Code-Cleanup: remove unncessary return at end of void function

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

[jira] Created: (OFBIZ-536) Code-Cleanup: remove unncessary return at end of void function

Nicolas Malin (Jira)
Code-Cleanup: remove unncessary return at end of void function
--------------------------------------------------------------

                 Key: OFBIZ-536
                 URL: http://issues.apache.org/jira/browse/OFBIZ-536
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
    Affects Versions: SVN trunk
            Reporter: Stefan Huehner
            Priority: Trivial


Hi,
attached patch removes return statement at the end of the normal flow of void functions as these are unncessary.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-536) Code-Cleanup: remove unncessary return at end of void function

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-536?page=all ]

Stefan Huehner updated OFBIZ-536:
---------------------------------

    Attachment: ofbiz_return1.diff

> Code-Cleanup: remove unncessary return at end of void function
> --------------------------------------------------------------
>
>                 Key: OFBIZ-536
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-536
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Stefan Huehner
>            Priority: Trivial
>         Attachments: ofbiz_return1.diff
>
>
> Hi,
> attached patch removes return statement at the end of the normal flow of void functions as these are unncessary.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-536) Code-Cleanup: remove unncessary return at end of void function

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-536?page=all ]

Jacopo Cappellato reassigned OFBIZ-536:
---------------------------------------

    Assignee: Jacopo Cappellato

> Code-Cleanup: remove unncessary return at end of void function
> --------------------------------------------------------------
>
>                 Key: OFBIZ-536
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-536
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Stefan Huehner
>         Assigned To: Jacopo Cappellato
>            Priority: Trivial
>         Attachments: ofbiz_return1.diff
>
>
> Hi,
> attached patch removes return statement at the end of the normal flow of void functions as these are unncessary.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-536) Code-Cleanup: remove unncessary return at end of void function

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-536?page=comments#action_12457062 ]
           
Jacopo Cappellato commented on OFBIZ-536:
-----------------------------------------

Hi Stefan,

could you please create your patches without the -u options please? I'm having problems applying them...

See:

http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks


> Code-Cleanup: remove unncessary return at end of void function
> --------------------------------------------------------------
>
>                 Key: OFBIZ-536
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-536
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Stefan Huehner
>         Assigned To: Jacopo Cappellato
>            Priority: Trivial
>         Attachments: ofbiz_return1.diff
>
>
> Hi,
> attached patch removes return statement at the end of the normal flow of void functions as these are unncessary.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-536) Code-Cleanup: remove unncessary return at end of void function

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-536?page=all ]

Jacques Le Roux closed OFBIZ-536.
---------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed
         Assignee: Jacques Le Roux  (was: Jacopo Cappellato)

Stefan, Jacopo,

On WIndows I was able to apply and commit the file in rev. 484972  

Thanks


> Code-Cleanup: remove unncessary return at end of void function
> --------------------------------------------------------------
>
>                 Key: OFBIZ-536
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-536
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Stefan Huehner
>         Assigned To: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: ofbiz_return1.diff
>
>
> Hi,
> attached patch removes return statement at the end of the normal flow of void functions as these are unncessary.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira