Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f50e8d4b authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

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
parent a068624d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment