From 424194d67b954455fd78833f330a2730bcb0ccff Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 3 Sep 2024 17:08:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=BD=E7=95=A5=20Enumeration=20=E7=9A=84?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=B1=BB=E7=9A=84=20deprecation=20=E8=AD=A6?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java b/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java index 6bc4506..a7b5ad2 100644 --- a/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java +++ b/src/test/java/xyz/zhouxy/plusone/commons/EnumerationTests.java @@ -11,6 +11,7 @@ import xyz.zhouxy.plusone.commons.util.Enumeration; import java.util.ArrayList; import java.util.Collection; +@SuppressWarnings("deprecation") class EnumerationTests { private static final Logger log = LoggerFactory.getLogger(EnumerationTests.class); @@ -28,6 +29,7 @@ class EnumerationTests { } } +@SuppressWarnings("deprecation") final class EntityStatus extends Enumeration { private EntityStatus(int value, String name) { @@ -49,6 +51,7 @@ final class EntityStatus extends Enumeration { } } +@SuppressWarnings("deprecation") final class Result extends Enumeration { private Result(int id, String name) { super(id, name);