commit | 0dbe721d0aa231f790ead6f7b62de5531239fc7e | [log] [tgz] |
---|---|---|
author | Jozef BABJAK <jozef.babjak@gmail.com> | Mon Feb 21 15:55:01 2011 +0100 |
committer | Jozef BABJAK <jozef.babjak@gmail.com> | Thu Mar 03 10:09:53 2011 +0100 |
tree | 76f4124dd62bd6b9fb7886fc3c4cf7ded777a847 | |
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