poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From one...@apache.org
Subject svn commit: r1711876 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java
Date Mon, 02 Nov 2015 01:51:03 GMT
Author: onealj
Date: Mon Nov  2 01:51:03 2015
New Revision: 1711876

URL: http://svn.apache.org/viewvc?rev=1711876&view=rev
Log:
delete unnecessary cast

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java?rev=1711876&r1=1711875&r2=1711876&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFRow.java Mon Nov  2 01:51:03
2015
@@ -372,7 +372,7 @@ public class SXSSFRow implements Row
      */
     public float getHeightInPoints()
     {
-        return (float)(_height==-1?getSheet().getDefaultRowHeightInPoints():(float)_height/20.0);
+        return (float)(_height==-1?getSheet().getDefaultRowHeightInPoints():_height/20.0);
     }
     
     /**



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


Mime
View raw message