Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-181

Warning-"Flood" from SimplePropertySource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2-incubating
    • 0.3-incubating
    • Core
    • None
    • any

    Description

      If the constructor

      public SimplePropertySource(URL propertiesLocation)

      is used, STDOUT is flooded with warnings about "missing name".

      Solution:

          public SimplePropertySource(URL propertiesLocation) {
              super(0);
              // switch the next 2 lines: name should be set BEFORE load(...)!
              this.properties = load(propertiesLocation);
              this.name = propertiesLocation.toString();
          }
      

      Attachments

        Activity

          People

            johndament John D. Ament
            Jürg Jürg Spiess
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: