We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82a99ad commit 42e3f90Copy full SHA for 42e3f90
spring-core/src/main/java/org/springframework/asm/TypePath.java
@@ -117,7 +117,7 @@ public int getStepArgument(final int index) {
117
* @return the corresponding TypePath object, or {@literal null} if the path is empty.
118
*/
119
public static TypePath fromString(final String typePath) {
120
- if (typePath == null || typePath.isEmpty()) {
+ if (typePath == null || typePath.length() == 0) {
121
return null;
122
}
123
int typePathLength = typePath.length();
0 commit comments