Skip to content

getPropertyValue(List,default) returns empty instead of default #4

Description

@davidsowerby

Calling

getPropertyValue("propertyName",defaultList)

when there is no property of that name does not return defaultList, but returns an empty list.

This seems to be because of the Commons Configuration getList method - it does not return a null for no property found, as the other methods do.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions