garydgregory commented on a change in pull request #757:
URL: https://github.com/apache/commons-lang/pull/757#discussion_r820273330
##########
File path: src/test/java/org/apache/commons/lang3/EnumUtilsTest.java
##########
@@ -378,7 +378,7 @@ public void test_getEnumMap_keyFunction() {
@Test
public void test_getEnumSystemProperty() {
- final String key = getClass().getName();
+ final String key = ClassUtils.getName(this);
Review comment:
Why?
##########
File path: src/test/java/org/apache/commons/lang3/reflect/TypeUtilsTest.java
##########
@@ -940,7 +941,7 @@ public void testParameterizeWithOwner() throws Exception {
@Test
public void testToLongString() {
- assertEquals(getClass().getName() + ":B",
TypeUtils.toLongString(getClass().getTypeParameters()[0]));
+ assertEquals(ClassUtils.getName(this) + ":B",
TypeUtils.toLongString(getClass().getTypeParameters()[0]));
Review comment:
Why?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]