aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladislav Galas <gallon@apache.org>2019-01-26 23:19:41 +0000
committerVladislav Galas <gallon@apache.org>2019-01-26 23:19:41 +0000
commitbc30eceb020a1fa332cfcf24cb350652fe110306 (patch)
treea0ea2beece9423c4340de6f2fa3cf03886e27ddf
parenta8a0cb56f780188d0894168b212559b738acca79 (diff)
downloadpoi-bc30eceb020a1fa332cfcf24cb350652fe110306.tar.gz
poi-bc30eceb020a1fa332cfcf24cb350652fe110306.zip
pulled *Cell.getAddress to common base
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1852251 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/documentation/RELEASE-NOTES.txt44
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFCell.java8
-rw-r--r--src/java/org/apache/poi/ss/usermodel/CellBase.java9
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java8
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java8
5 files changed, 53 insertions, 24 deletions
diff --git a/src/documentation/RELEASE-NOTES.txt b/src/documentation/RELEASE-NOTES.txt
new file mode 100644
index 0000000000..cc03e9c587
--- /dev/null
+++ b/src/documentation/RELEASE-NOTES.txt
@@ -0,0 +1,44 @@
+The Apache POI project is pleased to announce the release of POI @VERSION@.
+Featured are a handful of new areas of functionality, and numerous bug fixes.
+
+See the downloads page for binary and source distributions: https://poi.apache.org/download.html
+
+Release Notes
+
+Changes
+------------
+The most notable changes in this release are:
+
+@List changes here@
+
+A full list of changes is available in the change log: https://poi.apache.org/changes.html.
+People interested should also follow the dev mailing list to track further progress.
+
+Release Contents
+----------------
+
+This release comes in two forms:
+ - pre-built binaries containing compiled versions of all Apache POI components and documentation
+ (poi-bin-@VERSION@-@DSTAMP@.zip or poi-bin-@VERSION@-@DSTAMP@.tar.gz)
+ - source archive you can build POI from (poi-src-@VERSION@-@DSTAMP@.zip or poi-src-@VERSION@-@DSTAMP@.tar.gz)
+ Unpack the archive and use the following command to build all POI components with Apache Ant 1.8+ and JDK 1.8 or higher:
+
+ ant jar
+
+ Pre-built versions of all POI components are also available in the central Maven repository
+ under Group ID "org.apache.poi" and Version "@VERSION@"
+
+All release artifacts are accompanied by MD5 checksums and PGP signatures
+that you can use to verify the authenticity of your download.
+The public key used for the PGP signature can be found at
+https://svn.apache.org/repos/asf/poi/tags/@RELEASE_TAG@/KEYS
+
+About Apache POI
+-----------------------
+
+Apache POI is well-known in the Java field as a library for reading and
+writing Microsoft Office file formats, such as Excel, PowerPoint, Word,
+Visio, Publisher and Outlook. It supports both the older (OLE2) and
+new (OOXML - Office Open XML) formats.
+
+See https://poi.apache.org/ for more details
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java
index 7926cbdb1a..10734219a6 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCell.java
@@ -248,14 +248,6 @@ public class HSSFCell extends CellBase {
return _record.getColumn() & 0xFFFF;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public CellAddress getAddress() {
- return new CellAddress(this);
- }
-
@Override
protected void setCellTypeImpl(CellType cellType) {
notifyFormulaChanging();
diff --git a/src/java/org/apache/poi/ss/usermodel/CellBase.java b/src/java/org/apache/poi/ss/usermodel/CellBase.java
index 7a430257ef..14d0555f80 100644
--- a/src/java/org/apache/poi/ss/usermodel/CellBase.java
+++ b/src/java/org/apache/poi/ss/usermodel/CellBase.java
@@ -18,6 +18,7 @@
package org.apache.poi.ss.usermodel;
import org.apache.poi.ss.formula.FormulaParseException;
+import org.apache.poi.ss.util.CellAddress;
import org.apache.poi.ss.util.CellRangeAddress;
import org.apache.poi.ss.util.CellReference;
@@ -58,6 +59,14 @@ public abstract class CellBase implements Cell {
}
/**
+ * {@inheritDoc}
+ */
+ @Override
+ public CellAddress getAddress() {
+ return new CellAddress(this);
+ }
+
+ /**
* Implementation-specific logic
* @param cellType new cell type. Guaranteed non-null, not _NONE.
*/
diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java
index 797c39bba6..54b8236f72 100644
--- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java
+++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java
@@ -84,14 +84,6 @@ public class SXSSFCell extends CellBase {
}
/**
- * {@inheritDoc}
- */
- @Override
- public CellAddress getAddress() {
- return new CellAddress(this);
- }
-
- /**
* Returns the sheet this cell belongs to
*
* @return the sheet this cell belongs to
diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
index a45ae4c629..f49121982d 100644
--- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
+++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
@@ -636,14 +636,6 @@ public final class XSSFCell extends CellBase {
}
/**
- * {@inheritDoc}
- */
- @Override
- public CellAddress getAddress() {
- return new CellAddress(this);
- }
-
- /**
* Return the cell's style.
*
* @return the cell's style.