Skip to content

Commit d5e85bd

Browse files
committed
Remove obsolete code
1 parent c3c96b9 commit d5e85bd

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

spring-test/src/main/java/org/springframework/test/context/TestContextManager.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -674,9 +674,6 @@ private static TestContext copyTestContext(TestContext testContext) {
674674
}
675675

676676
private static String typeName(Object obj) {
677-
if (obj == null) {
678-
return "null";
679-
}
680677
if (obj instanceof Class<?> type) {
681678
return type.getName();
682679
}

0 commit comments

Comments
 (0)