From 8a2b2f7fef638b2c19b670daf47bdc9f42e1d479 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 3 Oct 2018 07:42:33 +0000 Subject: [PATCH] deprecate unused Nullable class git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1842684 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/java/org/apache/poi/openxml4j/util/Nullable.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ooxml/java/org/apache/poi/openxml4j/util/Nullable.java b/src/ooxml/java/org/apache/poi/openxml4j/util/Nullable.java index 8c1a24c863..8b64207ef1 100644 --- a/src/ooxml/java/org/apache/poi/openxml4j/util/Nullable.java +++ b/src/ooxml/java/org/apache/poi/openxml4j/util/Nullable.java @@ -17,12 +17,17 @@ package org.apache.poi.openxml4j.util; +import org.apache.poi.util.Removal; + /** * An immutable object that could be defined as null. * * @author Julien Chable * @version 0.9 + * @deprecated No longer used in POI code base, use {@link java.util.Optional} instead */ +@Removal(version = "4.2") +@Deprecated public final class Nullable { private E value; -- 2.39.5