[jira] [Updated] (OFBIZ-11098) methods not accessing ‘this’ should be ‘static’

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

[jira] [Updated] (OFBIZ-11098) methods not accessing ‘this’ should be ‘static’

Nicolas Malin (Jira)

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

Mathieu Lirzin updated OFBIZ-11098:
-----------------------------------
    Attachment: OFBIZ-11098_plugins.patch

> methods not accessing ‘this’ should be ‘static’
> -----------------------------------------------
>
>                 Key: OFBIZ-11098
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11098
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL PLUGINS, framework
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-11098_framework.patch, OFBIZ-11098_plugins.patch
>
>
> In order to make it clear when a method is not depending on the internal state of an object, it is a good practice to declare it as {{static}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)