diff options
author | Jim Hahn <jrh3@att.com> | 2021-05-24 20:51:53 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-05-24 20:51:53 +0000 |
commit | 41d130dd1bc967f8163ab2304ed4067254034151 (patch) | |
tree | 0f735b08dfff1f8004106a240d4ae1b875c7179e /utils/src/test | |
parent | 57410a85a607f71d4094dae9d9e57dabb7b0b33a (diff) | |
parent | 601a09fd07960d3aadcf972ba7c72dcea9976aef (diff) |
Merge "Enhance toString methods in factory classes"
Diffstat (limited to 'utils/src/test')
-rw-r--r-- | utils/src/test/java/org/onap/policy/common/utils/coder/StandardCoderTest.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/utils/src/test/java/org/onap/policy/common/utils/coder/StandardCoderTest.java b/utils/src/test/java/org/onap/policy/common/utils/coder/StandardCoderTest.java index a468f0b4..33c7331e 100644 --- a/utils/src/test/java/org/onap/policy/common/utils/coder/StandardCoderTest.java +++ b/utils/src/test/java/org/onap/policy/common/utils/coder/StandardCoderTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP PAP * ================================================================================ - * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -52,6 +52,7 @@ import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.TreeMap; +import lombok.ToString; import org.junit.Before; import org.junit.Test; @@ -358,13 +359,9 @@ public class StandardCoderTest { } + @ToString private static class MyObject { private String abc; - - @Override - public String toString() { - return "MyObject [abc=" + abc + "]"; - } } public static class MyMap { |