Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-456

AbstractConfiguration.getKeys(String prefix) docs doesn't say about the point ('.')

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.7
    • Component/s: Documentation
    • Labels:
      None

      Description

      For the method org.apache.commons.configuration.AbstractConfiguration.getKeys(String prefix) the documentation doesn't say that to the prefix will be added a point character ('.') to filter the keys list (http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/AbstractConfiguration.html#getKeys%28java.lang.String%29). I discovered it only reading the source.
      Maybe I should have known this behaviour, but I think a lot of occasional users could face this unpredictable behaviour. Specifying this would be very helpfull.
      Many thanks for your wonderful libraries!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bluish Mirco Andreon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified