Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 963F3200D40 for ; Sat, 4 Nov 2017 03:49:58 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 94DB4160BFC; Sat, 4 Nov 2017 02:49:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA4B2160BFB for ; Sat, 4 Nov 2017 03:49:57 +0100 (CET) Received: (qmail 21463 invoked by uid 500); 4 Nov 2017 02:49:57 -0000 Mailing-List: contact commits-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@poi.apache.org Delivered-To: mailing list commits@poi.apache.org Received: (qmail 21454 invoked by uid 99); 4 Nov 2017 02:49:56 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Nov 2017 02:49:56 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 307AC3A0158 for ; Sat, 4 Nov 2017 02:49:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1814245 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java Date: Sat, 04 Nov 2017 02:49:52 -0000 To: commits@poi.apache.org From: onealj@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20171104024955.307AC3A0158@svn01-us-west.apache.org> archived-at: Sat, 04 Nov 2017 02:49:58 -0000 Author: onealj Date: Sat Nov 4 02:49:52 2017 New Revision: 1814245 URL: http://svn.apache.org/viewvc?rev=1814245&view=rev Log: whitespace Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java?rev=1814245&r1=1814244&r2=1814245&view=diff ============================================================================== --- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java (original) +++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFRow.java Sat Nov 4 02:49:52 2017 @@ -113,7 +113,7 @@ public class XSSFRow implements Row, Com */ @Override @SuppressWarnings("unchecked") - public Iterator cellIterator() { + public Iterator cellIterator() { return (Iterator)(Iterator)_cells.values().iterator(); } @@ -129,7 +129,7 @@ public class XSSFRow implements Row, Com */ @Override public Iterator iterator() { - return cellIterator(); + return cellIterator(); } /** @@ -236,7 +236,7 @@ public class XSSFRow implements Row, Com */ @Override public XSSFCell getCell(int cellnum) { - return getCell(cellnum, _sheet.getWorkbook().getMissingCellPolicy()); + return getCell(cellnum, _sheet.getWorkbook().getMissingCellPolicy()); } /** @@ -247,10 +247,10 @@ public class XSSFRow implements Row, Com */ @Override public XSSFCell getCell(int cellnum, MissingCellPolicy policy) { - if(cellnum < 0) throw new IllegalArgumentException("Cell index must be >= 0"); + if(cellnum < 0) throw new IllegalArgumentException("Cell index must be >= 0"); // Performance optimization for bug 57840: explicit boxing is slightly faster than auto-unboxing, though may use more memory - final Integer colI = Integer.valueOf(cellnum); // NOSONAR + final Integer colI = Integer.valueOf(cellnum); // NOSONAR XSSFCell cell = _cells.get(colI); switch (policy) { case RETURN_NULL_AND_BLANK: @@ -273,7 +273,7 @@ public class XSSFRow implements Row, Com */ @Override public short getFirstCellNum() { - return (short)(_cells.size() == 0 ? -1 : _cells.firstKey()); + return (short)(_cells.size() == 0 ? -1 : _cells.firstKey()); } /** @@ -297,7 +297,7 @@ public class XSSFRow implements Row, Com */ @Override public short getLastCellNum() { - return (short)(_cells.size() == 0 ? -1 : (_cells.lastKey() + 1)); + return (short)(_cells.size() == 0 ? -1 : (_cells.lastKey() + 1)); } /** @@ -350,7 +350,7 @@ public class XSSFRow implements Row, Com */ @Override public void setHeightInPoints(float height) { - setHeight((short)(height == -1 ? -1 : (height*20))); + setHeight((short)(height == -1 ? -1 : (height*20))); } /** @@ -361,7 +361,7 @@ public class XSSFRow implements Row, Com */ @Override public int getPhysicalNumberOfCells() { - return _cells.size(); + return _cells.size(); } /** @@ -397,7 +397,7 @@ public class XSSFRow implements Row, Com */ @Override public boolean getZeroHeight() { - return this._row.getHidden(); + return this._row.getHidden(); } /** @@ -407,7 +407,7 @@ public class XSSFRow implements Row, Com */ @Override public void setZeroHeight(boolean height) { - this._row.setHidden(height); + this._row.setHidden(height); } @@ -491,7 +491,7 @@ public class XSSFRow implements Row, Com */ @Internal public CTRow getCTRow(){ - return _row; + return _row; } /** --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org