From e7a9707f71353e704e53548f443c3f181896ce3a Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Sat, 5 Oct 2024 09:05:37 -0700 Subject: [PATCH] [ci] Fixes java 21 compile error --- api/src/main/java/ai/djl/modality/cv/output/CategoryMask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/api/src/main/java/ai/djl/modality/cv/output/CategoryMask.java b/api/src/main/java/ai/djl/modality/cv/output/CategoryMask.java index c0aea00b8f22..2845c2a46de9 100644 --- a/api/src/main/java/ai/djl/modality/cv/output/CategoryMask.java +++ b/api/src/main/java/ai/djl/modality/cv/output/CategoryMask.java @@ -34,6 +34,7 @@ public class CategoryMask implements JsonSerializable { private static final int COLOR_BLACK = 0xFF000000; + @SuppressWarnings("serial") private List classes; private int[][] mask;