summaryrefslogtreecommitdiffstats
path: root/app/PresetDataObject.h
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-27 20:15:24 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-27 20:15:24 +0800
commitc83df6f71f5dead914bc0f5522928b6de066dd1e (patch)
treeb7c584fcaa9a86e5880a71f66f1dda14548be43d /app/PresetDataObject.h
parentd216c5604b7598f120d7d53754ac5a7791d45be5 (diff)
Message: == and != may perform type coercion, use === or !== to avoid it. Description: The non-strict equality comparison is allowed to convert its arguments to a common type. That can lead to unexpected results such as ' \t\r\n' == 0 being true. Use the strict equality operators === and !== and be explicit about conversions you require. Bug-AGL: SPEC-2814 Change-Id: I384b107bf93480202cbae573937e4f602ef29306 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'app/PresetDataObject.h')
0 files changed, 0 insertions, 0 deletions