Skip to content

Using non-existent key on Flip at method throws ArrayIndexOutOfBoundsException #12

@sshanks-kx

Description

@sshanks-kx

Using a non-existent key on a Flip throws a java.lang.ArrayIndexOutOfBoundsException. Should prob document in code (so that users expect it) or change.

        String[] x = new String[] {"Key"};
        String[][] y = new String[][] {{"Value1","Value2","Value3"}};
        c.Dict dict = new c.Dict(x, y);
        c.Flip flip = new c.Flip(dict);
        flip.at("NOT FOUND");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions