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

PropertiesConfiguration should not trim whitespace from the property value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • None
    • None

    Description

      Currently, PropertiesConfiguration will trim all trailing whitespace from property values. This is different from how java.util.Properties behaves. The Javadoc explicitly states

      All remaining characters on the line become part of the associated element string

      The responsible code is in the method readProperty() of PropertiesReader.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Frettman Patrick Schmidt
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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