Add missing @Deprecated

This commit is contained in:
Dominik Stadler 2025-12-02 20:04:53 +01:00 committed by PJ Fanning
parent a058d04117
commit 45e584bce3
2 changed files with 2 additions and 0 deletions

View File

@ -249,6 +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)
@Removal(version = "7.0.0")
public String getName() {
return fileName;

View File

@ -97,6 +97,7 @@ public class ExternalLinksTable extends POIXMLDocumentPart {
*/
@Internal
@Removal(version = "6.0.0")
@Deprecated(forRemoval = true)
public CTExternalLink getCTExternalLink(){
return link;
}