This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch 5.5.x
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/5.5.x by this push:
     new b5b61eab6e remove Deprecated flags that don't work in Java 8
b5b61eab6e is described below

commit b5b61eab6e9966933c7f90db74f64239ba114b9d
Author: PJ Fanning <[email protected]>
AuthorDate: Wed Dec 3 01:51:13 2025 +0100

    remove Deprecated flags that don't work in Java 8
---
 .../src/main/java/org/apache/poi/openxml4j/util/ZipSecureFile.java      | 2 +-
 .../src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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 fb98157c60..b9e683aa5f 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
@@ -249,7 +249,7 @@ public class ZipSecureFile extends ZipFile {
      * @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.3.0)
      */
-    @Deprecated(since = "5.3.0", forRemoval = true)
+    @Deprecated // since 5.3.0
     @Removal(version = "7.0.0")
     public String getName() {
         return fileName;
diff --git 
a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java 
b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java
index 0d8a81c0d6..681c611bcd 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/ExternalLinksTable.java
@@ -97,7 +97,7 @@ public class ExternalLinksTable extends POIXMLDocumentPart {
      */
     @Internal
     @Removal(version = "6.0.0")
-    @Deprecated(forRemoval = true)
+    @Deprecated
     public CTExternalLink getCTExternalLink(){
         return link;
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to