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

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-util
    • Labels:
      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

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

              Dates

              • Created:
                Updated: