From a4d5d0405f0eada836cd8be827b808e3d216babd 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 | 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; /**