Skip to content

Commit 3cb3653

Browse files
ivicacclaude
andcommitted
4236 Suppress EI SpotBugs warning on BaseProperty metadata map
The metadata Map field added to BaseProperty triggers EI_EXPOSE_REP (mutable object stored in constructor / returned from getter). Apply the same class-level @SuppressFBWarnings("EI") already used by the sibling BaseResources in this package for its mutable Map fields. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ef4e67b commit 3cb3653

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • server/libs/platform/platform-api/src/main/java/com/bytechef/platform/domain

server/libs/platform/platform-api/src/main/java/com/bytechef/platform/domain/BaseProperty.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@
1818

1919
import com.bytechef.commons.util.OptionalUtils;
2020

21+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2122
import java.util.Map;
2223
import java.util.Objects;
2324
import org.jspecify.annotations.Nullable;
2425

26+
@SuppressFBWarnings("EI")
2527
public abstract class BaseProperty {
2628

2729
protected boolean advancedOption;

0 commit comments

Comments
 (0)