You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2015/11/02 03:39:15 UTC
svn commit: r1711883 -
/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
Author: onealj
Date: Mon Nov 2 02:39:15 2015
New Revision: 1711883
URL: http://svn.apache.org/viewvc?rev=1711883&view=rev
Log:
javadocs, remove unnecessary SuppressWarnings("resource") decorator
Modified:
poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java?rev=1711883&r1=1711882&r2=1711883&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java Mon Nov 2 02:39:15 2015
@@ -53,7 +53,7 @@ import org.openxmlformats.schemas.spread
* High level representation of a cell in a row of a spreadsheet.
* <p>
* Cells can be numeric, formula-based or string-based (text). The cell type
- * specifies this. String cells cannot conatin numbers and numeric cells cannot
+ * specifies this. String cells cannot contain numbers and numeric cells cannot
* contain strings (at least according to our model). Client apps should do the
* conversions themselves. Formula cells have the formula string, as well as
* the formula result, which can be numeric or string.
@@ -451,7 +451,6 @@ public final class XSSFCell implements C
cellFormula.setRef(range.formatAsString());
}
- @SuppressWarnings("resource")
private void setFormula(String formula, int formulaType) {
XSSFWorkbook wb = _row.getSheet().getWorkbook();
if (formula == null) {
@@ -524,6 +523,8 @@ public final class XSSFCell implements C
*
* @param style reference contained in the workbook.
* If the value is null then the style information is removed causing the cell to used the default workbook style.
+ *
+ * @throws IllegalArgumentException if style belongs to a different styles source (most likely because style is from a different workbook)
*/
@Override
public void setCellStyle(CellStyle style) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org