commit | 586c3808477fb7958269f21c6cd4fd54085f7df9 | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Mon Sep 30 18:50:01 2013 +0900 |
committer | Shawn Pearce <sop@google.com> | Mon Sep 30 09:17:08 2013 -0700 |
tree | e890b92eab6897088c56066ca9bfb9d0f204ba3d | |
parent | cff6c16377f43a610caed396d18b238ab62ebcce [diff] |
Fix NPE in ChangeJson The `draft` member is a Boolean but is set to either true or null. This causes NPE when checking `out.draft`. Change the condition to `out.draft != null && out.draft`. Change-Id: I18268c2e2f40dd07f9660788db51123573eb3e01