summaryrefslogtreecommitdiffstats
path: root/gson/src
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2020-06-18 13:49:01 +0100
committerliamfallon <liam.fallon@est.tech>2020-06-18 14:11:15 +0100
commit50d72892e98753fd012aff00c2d42979dce9653e (patch)
tree45c43f2a4d7a9bbdc2dda4dc0298dedee6afb1a6 /gson/src
parent611f63a4bb71d677cf2665b1794e91148ba42a51 (diff)
Changes for checkstyle 8.32
Issue-ID: POLICY-2188 Change-Id: I00843c61a6567001fc35c3ebb77b6843a1eb7da2 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'gson/src')
-rw-r--r--gson/src/test/java/org/onap/policy/common/gson/DoubleConverterTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/gson/src/test/java/org/onap/policy/common/gson/DoubleConverterTest.java b/gson/src/test/java/org/onap/policy/common/gson/DoubleConverterTest.java
index c81a5cd6..f4e3a76b 100644
--- a/gson/src/test/java/org/onap/policy/common/gson/DoubleConverterTest.java
+++ b/gson/src/test/java/org/onap/policy/common/gson/DoubleConverterTest.java
@@ -59,7 +59,7 @@ public class DoubleConverterTest {
assertEquals("[list, null, 21]", list.toString());
// map
- Map<String,Object> map = new LinkedHashMap<>();
+ Map<String, Object> map = new LinkedHashMap<>();
map.put("map-A", "map-value");
map.put("map-B", null);
map.put("map-C", 22.0);
@@ -88,13 +88,13 @@ public class DoubleConverterTest {
@Test
public void testConvertFromDoubleMap() {
// null is ok
- DoubleConverter.convertFromDouble((Map<String,Object>) null);
+ DoubleConverter.convertFromDouble((Map<String, Object>) null);
- Map<String,Object> map = new LinkedHashMap<>();
+ Map<String, Object> map = new LinkedHashMap<>();
map.put("keyA", "valueA");
map.put("keyB", 200.0);
- Map<String,Object> nested = new LinkedHashMap<>();
+ Map<String, Object> nested = new LinkedHashMap<>();
map.put("keyC", nested);
nested.put("nested-key", 201.0);