fix array analysis error.
This commit is contained in:
parent
8d837caf1c
commit
29da27f59f
|
@ -156,7 +156,7 @@ public class JavaClassValidateUtil {
|
|||
* @return boolean
|
||||
*/
|
||||
public static boolean isArray(String type) {
|
||||
return type.contains("[]");
|
||||
return type.endsWith("[]");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue