Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-9449

remove 'b' prefix from constants

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.15.0
    • 1.15.0
    • redis

    Description

      I number of constants in the redis packages have a 'b' prefix on their name. This might have been a use of Hungarian notation but that is not clear. The convention for constant names in geode is all upper case with underscore between words. So the 'b' prefix should be removed. See StringBytesGlossary for the location of many of these constants. Most of the constants in StringBytesGlossary contains bytes, one or more, but if a few of the constants in it are actually String instances. Consider renaming them to have _STRING suffix or moving them to another class like StringGlossary. 

      The byte array constants in this class are marked with the MakeImmutable annotation. 

      Attachments

        Issue Links

          Activity

            People

              kris10 Kristen
              dschneider Darrel Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: