From fea44e3d0fbff78431936abc994432b36c4da53d Mon Sep 17 00:00:00 2001 From: Frank Liu Date: Sun, 6 Oct 2024 14:09:36 -0700 Subject: [PATCH] [ci] Fixes java 21 compile error (#3497) --- api/src/main/java/ai/djl/modality/cv/output/CategoryMask.java | 2 ++ 1 file changed, 2 insertions(+) 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 c0aea00b8f2..394a7461a5d 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,7 +34,9 @@ public class CategoryMask implements JsonSerializable { private static final int COLOR_BLACK = 0xFF000000; + @SuppressWarnings("serial") private List classes; + private int[][] mask; /**