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

Make private methods in PropertiesConfiguration.PropertiesWriter protected

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • 2.0
    • None
    • None

    Description

      I believe in version 1.7 the IOFactory was added to PropertiesConfiguration to make it easy to replace the reader and writer. The default reader, PropertiesReader, does not have any private methods. It has protected methods to set the property name, separator, and value. The same cannot be said for the writer, PropertiesWriter. It has private methods like escapeKey, escapeValue, handleBackslashs, and makeSingleLineValue. It makes extending this class difficult. Can those private methods be turned protected?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fifalover Chris Seieroe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: