소스 검색

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

4.1.3.A
LeO_wqHyw 5 년 전
committed by Gitee
부모
커밋
1c6ce34fd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 파일 보기

@@ -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;
}


불러오는 중...
취소
저장