diff options
author | Jozef BABJAK <jozef.babjak@gmail.com> | 2011-02-21 15:55:01 +0100 |
---|---|---|
committer | Jozef BABJAK <jozef.babjak@gmail.com> | 2011-03-03 10:09:53 +0100 |
commit | 0dbe721d0aa231f790ead6f7b62de5531239fc7e (patch) | |
tree | 76f4124dd62bd6b9fb7886fc3c4cf7ded777a847 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 594b47d5928699fe5a1d052030c31902964d6cd0 (diff) |
Fixing improper boxing to Integer instead of Long.
This is tricky: entry.getMessageBox() returns int, so it is
by default boxed to Integer. Map.get() however accepts Objects,
so it ignores the difference, but nothing is find during lookup,
just because Long and Integer objects are compared using equals(),
which has to lead to 'false' result. So, explicit boxning to Long
is unnecessary here.
Change-Id: I967a7829a8926410a00274c6b5e312e1af567299
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions