]> source.dussan.org Git - poi.git/commit
Github-177: Avoid NullPointerException if RangeCopier encounters empty/missing rows
authorDominik Stadler <centic@apache.org>
Sun, 26 Apr 2020 08:23:04 +0000 (08:23 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 26 Apr 2020 08:23:04 +0000 (08:23 +0000)
commit979d1b48e7a057dbfd29af6bbe0dabad0adec65a
tree555d42111a61c5013d99ac3a6ee8f353b3eef272
parent6ae31c8a67aeca159f1f0f0eeb5a62a690b1ebba
Github-177: Avoid NullPointerException if RangeCopier encounters empty/missing rows

Also expose one-parameter constructor and verify it in tests.

Closes #177

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1877010 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/poi/hssf/usermodel/HSSFRangeCopier.java
src/java/org/apache/poi/ss/usermodel/RangeCopier.java
src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRangeCopier.java
src/ooxml/testcases/org/apache/poi/ss/usermodel/TestXSSFRangeCopier.java
src/testcases/org/apache/poi/hssf/usermodel/TestHSSFRangeCopier.java
src/testcases/org/apache/poi/ss/usermodel/TestRangeCopier.java