fix array analysis error.

This commit is contained in:
yusun4 2020-11-12 11:15:01 +08:00
parent 8d837caf1c
commit 29da27f59f
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ public class JavaClassValidateUtil {
* @return boolean
*/
public static boolean isArray(String type) {
return type.contains("[]");
return type.endsWith("[]");
}
/**