From 4565d312226c213cc50db8b207b6bb5feadcf1bc Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 17 May 2024 11:07:37 +0000 Subject: [PATCH] rename as 5.3.0-SNAPSHOT due to some changes in behaviour git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917782 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 2 +- build.xml | 2 +- osgi/pom.xml | 4 ++-- .../org/apache/poi/ooxml/HyperlinkRelationship.java | 2 +- .../java/org/apache/poi/ooxml/POIXMLDocumentPart.java | 10 +++++----- .../org/apache/poi/ooxml/ReferenceRelationship.java | 2 +- .../org/apache/poi/openxml4j/util/ZipSecureFile.java | 2 +- .../xdgf/usermodel/section/geometry/PolyLineTo.java | 2 +- .../java/org/apache/poi/xwpf/usermodel/Document.java | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index 51a861d2d1..41009416d7 100644 --- a/build.gradle +++ b/build.gradle @@ -100,7 +100,7 @@ allprojects { // apply plugin: 'eclipse' apply plugin: 'idea' - version = '5.2.6-SNAPSHOT' + version = '5.3.0-SNAPSHOT' } /** diff --git a/build.xml b/build.xml index 2d99ebabca..91cedffa0d 100644 --- a/build.xml +++ b/build.xml @@ -42,7 +42,7 @@ under the License. The Apache POI project Ant build. - + diff --git a/osgi/pom.xml b/osgi/pom.xml index 7fb1609167..91fb4fe5e9 100644 --- a/osgi/pom.xml +++ b/osgi/pom.xml @@ -24,12 +24,12 @@ org.apache.poi poi-bundle bundle - 5.2.6-SNAPSHOT + 5.3.0-SNAPSHOT Apache POI OSGi bundle UTF-8 - 5.2.6-SNAPSHOT + 5.3.0-SNAPSHOT 4.12.0 diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/HyperlinkRelationship.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/HyperlinkRelationship.java index e9649b3d52..5332c8c120 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/HyperlinkRelationship.java +++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/HyperlinkRelationship.java @@ -23,7 +23,7 @@ import java.net.URI; /** * Represents a hyperlink relationship. * - * @since POI 5.2.6 + * @since POI 5.3.0 */ public class HyperlinkRelationship extends ReferenceRelationship { /** diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLDocumentPart.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLDocumentPart.java index 32ef6eed8d..53a7ebc1bd 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLDocumentPart.java +++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/POIXMLDocumentPart.java @@ -235,7 +235,7 @@ public class POIXMLDocumentPart { * Returns the list of child relations for this POIXMLDocumentPart. * *

- * Since POI 5.2.6, Reference Relationships are stored separately from other child relations. + * Since POI 5.3.0, Reference Relationships are stored separately from other child relations. *

* * @return child relations @@ -749,7 +749,7 @@ public class POIXMLDocumentPart { * * @param relId the part which is to be removed * @return true, if the relation was removed - * @since POI 5.2.6 + * @since POI 5.3.0 */ public final boolean removeReferenceRelationship(String relId) { ReferenceRelationship existing = referenceRelationships.remove(relId); @@ -766,7 +766,7 @@ public class POIXMLDocumentPart { * * @param relId the relation id * @return the reference relationship or {@code null} if not found - * @since POI 5.2.6 + * @since POI 5.3.0 */ public final ReferenceRelationship getReferenceRelationship(String relId) { return referenceRelationships.get(relId); @@ -779,7 +779,7 @@ public class POIXMLDocumentPart { * @param isExternal true, if the target is an external resource * @param relId the relation id * @return the created reference relationship - * @since POI 5.2.6 + * @since POI 5.3.0 */ public final HyperlinkRelationship createHyperlink(URI uri, boolean isExternal, String relId) { PackageRelationship pr = packagePart.addRelationship(uri, isExternal ? TargetMode.EXTERNAL : TargetMode.INTERNAL, @@ -793,7 +793,7 @@ public class POIXMLDocumentPart { * Returns an unmodifiable list of reference relationships for this POIXMLDocumentPart. * * @return reference relationships - * @since POI 5.2.6 + * @since POI 5.3.0 * @see #getRelationParts() for child relations */ public final List getReferenceRelationships() { diff --git a/poi-ooxml/src/main/java/org/apache/poi/ooxml/ReferenceRelationship.java b/poi-ooxml/src/main/java/org/apache/poi/ooxml/ReferenceRelationship.java index dd9fbe8b99..9a20887f45 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/ooxml/ReferenceRelationship.java +++ b/poi-ooxml/src/main/java/org/apache/poi/ooxml/ReferenceRelationship.java @@ -24,7 +24,7 @@ import java.net.URI; /** * Defines a reference relationship. A reference relationship can be internal or external. * - * @since POI 5.2.6 + * @since POI 5.3.0 */ public abstract class ReferenceRelationship { private POIXMLDocumentPart container; diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java index f87c0bdd7a..60dcb1d53c 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java +++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java @@ -240,7 +240,7 @@ public class ZipSecureFile extends ZipFile { /** * Returns the path name of the ZIP file. * @return the path name of the ZIP file - * @deprecated there is no need for this method - it will be removed in a future version of POI (deprecated since POI 5.2.6) + * @deprecated there is no need for this method - it will be removed in a future version of POI (deprecated since POI 5.3.0) */ @Removal(version = "7.0.0") public String getName() { diff --git a/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/section/geometry/PolyLineTo.java b/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/section/geometry/PolyLineTo.java index 3e772f3a89..8afef6baf9 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/section/geometry/PolyLineTo.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/section/geometry/PolyLineTo.java @@ -26,7 +26,7 @@ import com.microsoft.schemas.office.visio.x2012.main.RowType; /** * Represents a polyline vertex in a shape's geometry. - * Until POI 5.2.6, this class not was not properly implemented and was throwing an exception. + * Until POI 5.3.0, this class not was not properly implemented and was throwing an exception. */ public class PolyLineTo implements GeometryRow { diff --git a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/Document.java b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/Document.java index 62f217d5dc..5c117e1eb5 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/Document.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/Document.java @@ -78,7 +78,7 @@ public interface Document { /** * SVG graphics (.svg) * - * @since POI 5.2.6 + * @since POI 5.3.0 */ public static final int PICTURE_TYPE_SVG = PictureType.SVG.ooxmlId; } -- 2.39.5