Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-843

Methods should not be empty

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.11.0
    • None
    • None

    Description

      An empty method is generally considered bad practice and can lead to confusion, readability, and maintenance issues. Empty methods bring no functionality and are misleading to others as they might think the method implementation fulfills a specific and identified requirement.
      There are several reasons for a method not to have a body:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              TYzzt zhao tao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: