commit | f50e8d4bc0556d450699390c78962c2cc6604288 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Tue Jan 08 09:06:54 2019 -0500 |
committer | Leon Scroggins III <scroggo@google.com> | Tue Jan 08 09:20:07 2019 -0500 |
tree | 94d34ebd6eda74f3f44cf1f5543d6f9ec38217ed | |
parent | a068624dce06a9948bcef377ac417394def31a4d [diff] |
Fix a typo in ColorSpace.get Test: I1759437bf620868706be0aadce2250ac9194ca7d The intent is that an index that does not match a Named ColorSpace will throw an IllegalArgumentException, so make that true for Named.values().length, which does not correspond to one. Also, update the Exception message to make it clear that the last index is exclusive. Change-Id: I015b7ee6274873cc329653473ead04b08f1cd55f