This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit c99cac3e3bf0691a6dafcf8e1bd6cff6e2367bb6 Author: Gary Gregory <[email protected]> AuthorDate: Tue Jul 5 12:55:25 2022 -0400 Remove single use locval variable --- src/test/java/org/apache/commons/lang3/AbstractLangTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/lang3/AbstractLangTest.java b/src/test/java/org/apache/commons/lang3/AbstractLangTest.java index ab002ce5d..432b5434b 100644 --- a/src/test/java/org/apache/commons/lang3/AbstractLangTest.java +++ b/src/test/java/org/apache/commons/lang3/AbstractLangTest.java @@ -34,8 +34,7 @@ public class AbstractLangTest { } void validateNullToStringStyleRegistry() { - final Map<Object, Object> registry = ToStringStyle.getRegistry(); - assertNull(registry, "Expected null, actual: " + registry); + assertNull(ToStringStyle.getRegistry(), "Expected null, actual: " + ToStringStyle.getRegistry()); } }
