Fix bug - cast as long 53/116953/1
authorPamela Dragosh <pdragosh@research.att.com>
Mon, 18 Jan 2021 13:48:54 +0000 (08:48 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Mon, 18 Jan 2021 13:49:02 +0000 (08:49 -0500)
commitbea6126c3d932ec7fb82e6a0bc4e1d5bef94e85c
tree1873ddce48d7e169dfc3ad2c9cdb588c251d56ec
parentf1f01906979b5baf1b11f1b6849b05e4642aabfc
Fix bug - cast as long

Sonar wants to promote one value to a long, to avoid risk of overflow before assignment.

Issue-ID: POLICY-2908
Change-Id: I2a92cfd8e437dac3f77ee0366993ae28b2c4c05e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/decoding/policy/file/PolicyDecoderFileInCsarToPolicy.java