Skip to content

Commit 5b6a3dd

Browse files
committed
remove null check
Signed-off-by: Attila Mészáros <csviri@gmail.com>
1 parent 409c2f4 commit 5b6a3dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/informer/InformerConfiguration.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,6 @@ public InformerConfigurationBuilder<R> withInformerListLimit(Long informerListLi
304304
}
305305

306306
public InformerConfiguration<R> build() {
307-
Objects.requireNonNull(secondaryToPrimaryMapper, "SecondaryToPrimaryMapper must not be null");
308-
309307
return new DefaultInformerConfiguration<>(name, labelSelector, resourceClass,
310308
groupVersionKind,
311309
primaryToSecondaryMapper,

0 commit comments

Comments
 (0)