]> source.dussan.org Git - poi.git/commitdiff
compile issue
authorPJ Fanning <fanningpj@apache.org>
Sun, 20 Mar 2022 10:13:39 +0000 (10:13 +0000)
committerPJ Fanning <fanningpj@apache.org>
Sun, 20 Mar 2022 10:13:39 +0000 (10:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899081 13f79535-47bb-0310-9956-ffa450edef68

poi/src/main/java/org/apache/poi/hssf/record/aggregates/RowRecordsAggregate.java

index deeeff34bbea98e963fae52965b112a927c5ea44..d37c911c7260e0052c69b341e016b01c30a5f26f 100644 (file)
@@ -145,7 +145,7 @@ public final class RowRecordsAggregate extends RecordAggregate {
         _valuesAgg.removeAllCellsValuesForRow(rowIndex);
         RowRecord rr = _rowRecords.remove(rowIndex);
         if (rr == null) {
-            throw new RuntimeException("Invalid row index (" + key.intValue() + ")");
+            throw new RuntimeException("Invalid row index (" + rowIndex + ")");
         }
         if (row != rr) {
             _rowRecords.put(rowIndex, rr);