-
[NA] [BE] Remove unnecessary @NonNull annotations from ExperimentResponseBuilder (#4368)
发布于
2025-12-09 08:24:34 +00:00 Follow-up to PR #4333 addressing review comment:
https://github.com/comet-ml/opik/pull/4333#discussion_r1889698622Removed @NonNull annotations from groupItems and groups parameters in
buildGroupAggregationsResponse() method as CollectionUtils.isEmpty()
gracefully handles null values and the method returns a valid empty
response when these parameters are null or empty.This makes the method more resilient by avoiding unnecessary
NullPointerExceptions while maintaining the same functionality.下载附件