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

methods not accessing ‘this’ should be ‘static’

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • None
    • ALL PLUGINS, framework
    • 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_framework.patch
          80 kB
          Mathieu Lirzin
        2. OFBIZ-11098_plugins.patch
          25 kB
          Mathieu Lirzin
        3. OFBIZ-11098_framework-safe-public.patch
          4 kB
          Mathieu Lirzin

        Activity

          People

            mthl Mathieu Lirzin (Inactive)
            mthl Mathieu Lirzin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: