pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIVOT-1041) Add a Constants class as a place to store frequently used constant values
Date Thu, 23 Aug 2018 18:36:00 GMT
Roger Whitcomb created PIVOT-1041:
-------------------------------------

             Summary: Add a Constants class as a place to store frequently used constant values
                 Key: PIVOT-1041
                 URL: https://issues.apache.org/jira/browse/PIVOT-1041
             Project: Pivot
          Issue Type: Improvement
          Components: core-util
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb


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

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message