Skip to content

Commit 42e3f90

Browse files
revert TypePath
1 parent 82a99ad commit 42e3f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core/src/main/java/org/springframework/asm/TypePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public int getStepArgument(final int index) {
117117
* @return the corresponding TypePath object, or {@literal null} if the path is empty.
118118
*/
119119
public static TypePath fromString(final String typePath) {
120-
if (typePath == null || typePath.isEmpty()) {
120+
if (typePath == null || typePath.length() == 0) {
121121
return null;
122122
}
123123
int typePathLength = typePath.length();

0 commit comments

Comments
 (0)