Nineya
Home
Blog
Spring Remove unnecessary array length check
2025-01-09 00:35:54
206
This is why I opened PR.
ClassUtils.getAllInterfacesForClass does not return null.
Even if the length of proxyInterfaces is 0, no error occurs in the loop. So I think that conditional statement is unnecessary.
.