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

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

Open
sshanks-kx opened this issue Oct 19, 2020 · 0 comments

Comments

@sshanks-kx
Copy link
Collaborator

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");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant