Przeglądaj źródła

修改反射工具类中从方法缓存取poi实体类setter时没有setter却提示成没有getter的错误

4.1.3.A
LeO_wqHyw 5 lat temu
committed by Gitee
rodzic
commit
1c6ce34fd0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      easypoi-base/src/main/java/cn/afterturn/easypoi/util/PoiReflectorUtil.java

+ 1
- 1
easypoi-base/src/main/java/cn/afterturn/easypoi/util/PoiReflectorUtil.java Wyświetl plik

@@ -309,7 +309,7 @@ public final class PoiReflectorUtil {
Method method = setMethods.get(propertyName);
if (method == null) {
throw new RuntimeException(
"There is no getter for property named '" + propertyName + "' in '" + type + "'");
"There is no setter for property named '" + propertyName + "' in '" + type + "'");
}
return method;
}


Ładowanie…
Anuluj
Zapisz