diff options
Diffstat (limited to 'utils-test/src/main/java/org/onap/policy/common/utils/test/ToStringTester.java')
-rw-r--r-- | utils-test/src/main/java/org/onap/policy/common/utils/test/ToStringTester.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/utils-test/src/main/java/org/onap/policy/common/utils/test/ToStringTester.java b/utils-test/src/main/java/org/onap/policy/common/utils/test/ToStringTester.java index 3890ae95..ab09291c 100644 --- a/utils-test/src/main/java/org/onap/policy/common/utils/test/ToStringTester.java +++ b/utils-test/src/main/java/org/onap/policy/common/utils/test/ToStringTester.java @@ -1,7 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2018 Ericsson. All rights reserved. - * Modifications Copyright (C) 2018-2020 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2018-2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2019 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,6 +29,7 @@ import com.openpojo.reflection.PojoClass; import com.openpojo.validation.affirm.Affirm; import com.openpojo.validation.test.Tester; import com.openpojo.validation.utils.ValidationHelper; +import lombok.AllArgsConstructor; import org.hamcrest.Matcher; @@ -37,6 +38,7 @@ import org.hamcrest.Matcher; * * @author Ram Krishna Verma (ram.krishna.verma@est.tech) */ +@AllArgsConstructor public class ToStringTester implements Tester { private final Matcher<?> matcher; @@ -45,10 +47,6 @@ public class ToStringTester implements Tester { matcher = anything(); } - public ToStringTester(final Matcher<?> matcher) { - this.matcher = matcher; - } - @SuppressWarnings("unchecked") @Override public void run(final PojoClass pojoClass) { |