Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1041

Add a Constants class as a place to store frequently used constant values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core-util
    • None

    Description

      There are a number of strings and other constant (usually static final) values that are scattered in multiple places, but with the same values.  These could meaningfully be put into a single place and referenced from there.

      Examples include:

      • int BUFFER_SIZE = 16384 (for BufferedReader, Writer)
      • String HTTP_PROTOCOL, String HTTPS_PROTOCOL
      • "UTF-8" or the UTF_8 charset

       

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            rwhitcomb Roger Lee Whitcomb
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: