Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-477

inconsistent names and duplicate methods in IteratorSettings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 1.4.0
    • client
    • None

    Description

      David Medinets noticed

      A Property object used to hold key-value information used to modify
      the behavior of an Interator. However, these are the methods
      available:

       getProperties
       setProperties
       hasProperties
       addOption
       removeOption
       addOptions
       clearOptions
      

      Is there a reason why the same concept as two names? I'd like to
      settle on one name and standardise.

      Could we change the names to be something like
      getInteratorSettingProperties? I know that some people are annoyed by
      longer method names, but when searching through a code base, have
      unique names is handy. Searching for a generically named method - such
      as getProperties, returns a lot of false positives.

      Attachments

        Activity

          People

            ecn Eric C. Newton
            medined David Medinets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: