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

methods not accessing ‘this’ should be ‘static’

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment