poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1809737 - /poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java
Date Tue, 26 Sep 2017 12:31:51 GMT
Author: centic
Date: Tue Sep 26 12:31:51 2017
New Revision: 1809737

URL: http://svn.apache.org/viewvc?rev=1809737&view=rev
Log:
Fixup change for CellReference to keep the behavior the same as before

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java?rev=1809737&r1=1809736&r2=1809737&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/usermodel/HSSFPatriarch.java Tue Sep 26 12:31:51
2017
@@ -125,7 +125,7 @@ public final class HSSFPatriarch impleme
         Set<String> coordinates = new HashSet<>(tailRecords.size());
         for(NoteRecord rec : tailRecords.values()){
             String noteRef = new CellReference(rec.getRow(),
-                    rec.getColumn()).formatAsString(); // A1-style notation
+                    rec.getColumn(), true, true).formatAsString(); // A1-style notation
             if(coordinates.contains(noteRef )){
                 throw new IllegalStateException("found multiple cell comments for cell "
+ noteRef );
             } else {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message