From d85bf0c0afc048ff6b6905f8b8eda3f4e4f58c61 Mon Sep 17 00:00:00 2001 From: Louis Jacomet Date: Fri, 10 Feb 2017 14:03:57 +0100 Subject: [PATCH] :shirt: #1814 Remove findbugs warning Suppressing the warning as the type is used in a specific context where exposing that byte[] is not an issue. --- .../ehcache/clustered/common/internal/store/ValueWrapper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clustered/common/src/main/java/org/ehcache/clustered/common/internal/store/ValueWrapper.java b/clustered/common/src/main/java/org/ehcache/clustered/common/internal/store/ValueWrapper.java index 87fb91bf3d..e05a9f7448 100644 --- a/clustered/common/src/main/java/org/ehcache/clustered/common/internal/store/ValueWrapper.java +++ b/clustered/common/src/main/java/org/ehcache/clustered/common/internal/store/ValueWrapper.java @@ -16,12 +16,15 @@ package org.ehcache.clustered.common.internal.store; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; + import java.io.Serializable; import java.util.Arrays; /** * ValueWrapper */ +@SuppressFBWarnings("EI_EXPOSE_REP") public class ValueWrapper implements Serializable { private static final long serialVersionUID = -4794738044295644587L;