aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss/util/CellUtil.java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2017-06-30 12:18:13 +0000
committerPJ Fanning <fanningpj@apache.org>2017-06-30 12:18:13 +0000
commit0dff17384fa77ebf9124952ca7c4fdad128742fb (patch)
tree6cb92231651bdb25f59bec13a67e4c85b6084223 /src/java/org/apache/poi/ss/util/CellUtil.java
parent95d9bec68b77d759b57fa8e0c57b5600ce8a1d18 (diff)
downloadpoi-0dff17384fa77ebf9124952ca7c4fdad128742fb.tar.gz
poi-0dff17384fa77ebf9124952ca7c4fdad128742fb.zip
Remove more deprecated code (BorderFormatting constants)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800385 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ss/util/CellUtil.java')
-rw-r--r--src/java/org/apache/poi/ss/util/CellUtil.java46
1 files changed, 1 insertions, 45 deletions
diff --git a/src/java/org/apache/poi/ss/util/CellUtil.java b/src/java/org/apache/poi/ss/util/CellUtil.java
index 7c54cff814..855c284469 100644
--- a/src/java/org/apache/poi/ss/util/CellUtil.java
+++ b/src/java/org/apache/poi/ss/util/CellUtil.java
@@ -37,7 +37,6 @@ import org.apache.poi.ss.usermodel.VerticalAlignment;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.util.POILogFactory;
import org.apache.poi.util.POILogger;
-import org.apache.poi.util.Removal;
/**
* Various utility functions that make working with a cells and rows easier. The various methods
@@ -228,22 +227,6 @@ public final class CellUtil {
/**
* Take a cell, and apply a font to it
*
- * @param cell the cell to set the alignment for
- * @param workbook The workbook that is being worked with.
- * @param font The Font that you want to set.
- * @throws IllegalArgumentException if <tt>font</tt> and <tt>cell</tt> do not belong to the same workbook
- *
- * @deprecated 3.15-beta2. Use {@link #setFont(Cell, Font)} instead.
- */
- @Deprecated
- @Removal(version="3.17")
- public static void setFont(Cell cell, Workbook workbook, Font font) {
- setFont(cell, font);
- }
-
- /**
- * Take a cell, and apply a font to it
- *
* @param cell the cell to set the alignment for
* @param font The Font that you want to set.
* @throws IllegalArgumentException if <tt>font</tt> and <tt>cell</tt> do not belong to the same workbook
@@ -273,7 +256,7 @@ public final class CellUtil {
* <p>This is necessary because Excel has an upper limit on the number of styles that it supports.</p>
*
* <p>This function is more efficient than multiple calls to
- * {@link #setCellStyleProperty(org.apache.poi.ss.usermodel.Cell, org.apache.poi.ss.usermodel.Workbook, String, Object)}
+ * {@link #setCellStyleProperty(org.apache.poi.ss.usermodel.Cell, String, Object)}
* if adding multiple cell styles.</p>
*
* <p>For performance reasons, if this is the only cell in a workbook that uses a cell style,
@@ -321,33 +304,6 @@ public final class CellUtil {
/**
* <p>This method attempts to find an existing CellStyle that matches the <code>cell</code>'s
* current style plus a single style property <code>propertyName</code> with value
- * <code>propertyValue<code>.
- * A new style is created if the workbook does not contain a matching style.</p>
- *
- * <p>Modifies the cell style of <code>cell</code> without affecting other cells that use the
- * same style.</p>
- *
- * <p>If setting more than one cell style property on a cell, use
- * {@link #setCellStyleProperties(org.apache.poi.ss.usermodel.Cell, Map)},
- * which is faster and does not add unnecessary intermediate CellStyles to the workbook.</p>
- *
- * @param cell The cell that is to be changed.
- * @param workbook The workbook that is being worked with.
- * @param propertyName The name of the property that is to be changed.
- * @param propertyValue The value of the property that is to be changed.
- *
- * @deprecated 3.15-beta2. Use {@link #setCellStyleProperty(Cell, String, Object)} instead.
- */
- @Deprecated
- @Removal(version="3.17")
- public static void setCellStyleProperty(Cell cell, Workbook workbook, String propertyName,
- Object propertyValue) {
- setCellStyleProperty(cell, propertyName, propertyValue);
- }
-
- /**
- * <p>This method attempts to find an existing CellStyle that matches the <code>cell</code>'s
- * current style plus a single style property <code>propertyName</code> with value
* <code>propertyValue</code>.
* A new style is created if the workbook does not contain a matching style.</p>
*