Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11098

methods not accessing ‘this’ should be ‘static’

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: ALL PLUGINS, framework
    • Labels:
      None

      Description

      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.

        Attachments

        1. OFBIZ-11098_plugins.patch
          25 kB
          Mathieu Lirzin
        2. OFBIZ-11098_framework-safe-public.patch
          4 kB
          Mathieu Lirzin
        3. OFBIZ-11098_framework.patch
          80 kB
          Mathieu Lirzin

          Activity

            People

            • Assignee:
              mthl Mathieu Lirzin
              Reporter:
              mthl Mathieu Lirzin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: