summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-21 14:05:30 +0800
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-09-21 14:05:30 +0800
commit0f9b8d9bb98d71bfb323f54b4b3b0ac6962f3295 (patch)
tree5193e4622b865a0454680e3c6c5a914c3d42392e /package
parentde98827b1ac4ed16f71e090c1ebda341b263f94b (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: If91ecbc6a1b92c63f7fcdbc94478c58b3aa3e692 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions