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

NullPointerException on SimplePropertySource.Builder.withName()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4-incubating
    • Core
    • None

    Description

      org.apache.tamaya.spisupport.SimplePropertySource.Builder.withName(String) always throws a NullPointerException.

      The method parameter is never used:

      public Builder withName(String val) {
        this.name = Objects.requireNonNull(name);
        return this;
      }
      

      The parameter should be renamed from val to name.

      Attachments

        Activity

          People

            pottlinger Philipp Ottlinger
            hwellmann Harald Wellmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: