Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-239

Interfaces should not be used to define constants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None

    Description

      Interfaces should not be used to define constants.

      This is often done as a way to save typing the name of a class that defines the constants. However using an interface pollutes any implementing classes with all the constant names, even if they are not used.

      This issue applies to
      Constants
      ExceptionConstants
      InstructionConstants

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: