Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-14842: Fix deprecation warnings from PropertyList/Set.get #37

Merged
merged 1 commit into from
Jun 22, 2018

Commits on Jun 22, 2018

  1. Change PropertySet.getArray to return all types

    In updating code to use `PropertySet.getArray` or `getScalar`,
    instead of `get`, I realized that the best thing `getArray` can do
    with items that are neither numeric or scalar (e.g. `PropertySet`
    or `PropertyList`) is return them, preferably as a scalar.
    
    This allows one to retrieve all known information about any
    item in a container by calling `getArray`.
    Formerly this was difficult: you would have to first determine
    the data type (e.g. by calling `getScalar`) then call `getArray`
    if the type was numeric or string.
    r-owen committed Jun 22, 2018
    Configuration menu
    Copy the full SHA
    60730e9 View commit details
    Browse the repository at this point in the history