diff options
author | George Mount <mount@google.com> | 2016-02-18 14:33:37 -0800 |
---|---|---|
committer | George Mount <mount@google.com> | 2016-03-08 15:38:00 -0800 |
commit | bb4a033fcd5cd20e5be46ef8ead442dc7db2454d (patch) | |
tree | a6eebe0a848983d8dad5662f674959e7e76b2c80 /gradlePlugin/src/main/java | |
parent | b7eeedbfadec03792551014e9dfa2bd384fc21a3 (diff) | |
download | data-binding-bb4a033fcd5cd20e5be46ef8ead442dc7db2454d.tar.gz |
Have two-way binding use localized variables to prevent NPE.
Bug 26962999
Two-way binding was using the inverted expressions directly
without localizing variables. That meant that if there was
a variable set to null during evaluation, it may get a
NullPointerException even though it checked for null
on the value previously. This CL localizes the variables
so that cannot happen.
Change-Id: Ia55955ce0f1cb750e6a678e72e0cda03f0e3c9b6
Diffstat (limited to 'gradlePlugin/src/main/java')
0 files changed, 0 insertions, 0 deletions