-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
直接使用method拼接,默认调用toString方法
数组类中toString进行重写,仅仅是重载为类的静态方法。所以数组直接调用toString方法的结果并不是数组中元素的值,而是[数组的类型@内存地址哈希码]
throw new UnsupportedOperationException("不允许 method = " + parser.getMethod() + " 的请求调用远程函数 " + fb.getMethod() + " ! 必须满足 method 在 " + methods + "内 !"); |
可以手工拼接或者使用Java工具类Arrays中的toString方法转化数组为字符串。
TommyLemon