commit | 37f4fef730a59fd5230b90e60039b05ed5e4d88b | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Wed Jul 17 12:05:34 2019 -0400 |
committer | Jim Hahn <jrh3@att.com> | Wed Jul 17 14:46:31 2019 -0400 |
tree | fd8adeff8a78f089fa2e263a59abc42a535f50c1 | |
parent | c82cc454fe4f08da7e27af31ac9c0a0ef9cf153b [diff] |
Convert double to int when decoding via gson Refactored MapDoubleAdapterFactory, extracting DoubleConverter to be used by code needing to convert Double to Integer/Long after being decoded by GSON. Enhanced StandardCoder to automatically use the above converter if the desired class is a generic Object. Change-Id: I1d4e83910de41ceda383f257bfea706db2b8fbbe Issue-ID: POLICY-1919 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. To build it: