Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-867

HostConfigEntry.getProperty(String name, String defaultValue) may return null even if defaultValue != null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.2.0
    • None

    Description

      HostConfigEntry.getProperty(String name, String defaultValue) contains

      Map<String, String> props = getProperties();
      if (GenericUtils.isEmpty(props)) {
          return null;
      }

      This should be

      Map<String, String> props = getProperties();
      if (GenericUtils.isEmpty(props)) {
          return defaultValue;
      }

      Attachments

        Activity

          People

            lgoldstein Lyor Goldstein
            twolf Thomas Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: