aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-12-09 20:42:19 +0000
committerPJ Fanning <fanningpj@apache.org>2020-12-09 20:42:19 +0000
commitea56d752f4c93af19a136601e6e28926a95cfe4e (patch)
tree1cdbbbff3301efc6b4723d48b4e876da51978dcc /src/ooxml/java/org
parentea59cc2bc90b4ab8401217f469cde4d4ab63d789 (diff)
downloadpoi-ea56d752f4c93af19a136601e6e28926a95cfe4e.tar.gz
poi-ea56d752f4c93af19a136601e6e28926a95cfe4e.zip
remove more deprecated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884269 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org')
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java13
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java24
2 files changed, 3 insertions, 34 deletions
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
index 592ff3a007..155aa70556 100644
--- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
+++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
@@ -4070,19 +4070,6 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet {
}
/**
- * Creates a new Table, and associates it with this Sheet. The table does
- * not yet have an area defined and needs to be initialized by calling
- * {@link XSSFTable#setArea(AreaReference)}.
- *
- * @deprecated Use {@link #createTable(AreaReference))} instead
- */
- @Deprecated
- @Removal(version = "4.2.0")
- public XSSFTable createTable() {
- return createTable(null);
- }
-
- /**
* Creates a new Table, and associates it with this Sheet.
* <p>
* The table is assigned a default display name (since 4.1.1) which can be overridden
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java
index 31b6e320cf..62f6158deb 100644
--- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java
+++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFTable.java
@@ -220,18 +220,11 @@ public class XSSFTable extends POIXMLDocumentPart implements Table {
}
return tableColumns;
}
-
+
/**
- * Note this list is static - once read, it does not notice later changes to the underlying column structures
- * To clear the cache, call {@link #updateHeaders}
- *
- * @deprecated Use {@link XSSFTableColumn#getXmlColumnPr()} instead.
- *
- * @return List of XSSFXmlColumnPr
+ * Use {@link XSSFTableColumn#getXmlColumnPr()} instead.
*/
- @Deprecated
- @Removal(version="4.2.0")
- public List<XSSFXmlColumnPr> getXmlColumnPrs() {
+ private List<XSSFXmlColumnPr> getXmlColumnPrs() {
if (xmlColumnPrs == null) {
xmlColumnPrs = new ArrayList<>();
for (XSSFTableColumn column: getColumns()) {
@@ -439,17 +432,6 @@ public class XSSFTable extends POIXMLDocumentPart implements Table {
}
/**
- * @deprecated Use {@link #getColumnCount()} instead.
- *
- * @return the number of mapped table columns (see Open Office XML Part 4: chapter 3.5.1.4)
- */
- @Deprecated
- @Removal(version = "4.2.0")
- public long getNumberOfMappedColumns() {
- return ctTable.getTableColumns().getCount();
- }
-
- /**
* Get the area reference for the cells which this table covers. The area
* includes header rows and totals rows.
*