summaryrefslogtreecommitdiff
path: root/bean
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-14 12:21:24 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-14 12:25:50 +0200
commit8fb3808f555ad5b5c66cb894f9402647ca9ba341 (patch)
treee8fc4d138c32fa25ed25afcb7ad9bf073ff35202 /bean
parent3c496d8042614718042e46b66e32e860a39abac1 (diff)
These places apparently want to unbox a value boxed as an Any
...but what the original code would have done is try to unbox as an Any again, which would throw IllegalArgumentException. As the unboxed value would only be used for printing to System.out (and Any.toString result is just fine), just don't bother to unbox at all. (In the second place, the oldValue result would further be used in a util.ValueComparer.equalValue call, but that internally takes care of correctly unboxing its arguments, anyway.) Change-Id: I6802d1acd787f19346f66b418372be1701f69139
Diffstat (limited to 'bean')
0 files changed, 0 insertions, 0 deletions