YAML: getStringList changes 'yes' to 'true'

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major
    • None
    • Affects Version/s: None
    • Environment:

      This issue is not binded to the environment. Java 8 btw.

      Just noticed strange behaviour of YamlConfiguration, where getStringList (and getList method, too) returns a list where 'yes' is changed to 'true'.

      I've set the priority to major because this cause an exception to be thrown and possible stopping plugin to function.

      Example yaml:

        Whitelist:   - yes
        - hello
      

      Example java:

      <yamlConfigurationInstance>.getList("Whitelist") // and print out the values to see the result
      

            Assignee:
            md_5
            Reporter:
            kangarko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: