Remove single use locval variable

This commit is contained in:
Gary Gregory 2022-07-05 12:55:25 -04:00
parent 1bf7d7ec12
commit c99cac3e3b
1 changed files with 1 additions and 2 deletions

View File

@ -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());
}
}