Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liaochong committed Nov 14, 2024
1 parent 83c8581 commit 430d6b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>com.github.liaochong</groupId>
<artifactId>myexcel</artifactId>
<version>4.5.4</version>
<version>4.5.5</version>
<packaging>jar</packaging>

<name>myexcel</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ protected Tr createTr(List<Pair<? extends Class, ?>> contents) {
List<Td> tdList = IntStream.range(0, contents.size()).mapToObj(index -> {
Td td = new Td(0, index);
Pair<? extends Class, ?> pair = contents.get(index);
if (pair.getRepeatSize() != null) {
if (configuration.autoMerge && pair.getRepeatSize() != null) {
td.setRowSpan(pair.getRepeatSize());
}
this.setTdContent(td, pair);
Expand Down

0 comments on commit 430d6b8

Please sign in to comment.