diff options
author | Rashmi Pujar <rashmi.pujar1@bell.ca> | 2022-02-23 23:40:54 -0500 |
---|---|---|
committer | Rashmi Pujar <rashmi.pujar1@bell.ca> | 2022-02-24 10:50:46 -0500 |
commit | f0ae42bb24bd4ee98f6b7b3acf2e47d96946de1b (patch) | |
tree | e01758a4d1fca5ff785ee21c73553de789208cd0 /models-examples | |
parent | c89f17af3cccff82d3f251e7fe73910ea8e26dbf (diff) |
Fix for ClassCastException on PfConceptContainer get method usages
Typecasting Map to NavigableMap leads to ClassCastException.
The usages of the get methods in delete policy, policyType
endpoints in policy/api (using spring data jpa) cause the
unchecked class-cast exception. Fix is to instead copy the
Map entries into a newly created TreeMap instance.
Issue-ID: POLICY-3924
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I60625980d6f2692ffa7dd3bd9f53d10b43c13f4a
Diffstat (limited to 'models-examples')
0 files changed, 0 insertions, 0 deletions