Skip to content
This repository was archived by the owner on Oct 24, 2020. It is now read-only.

Commit bbd2506

Browse files
committed
Add null check
1 parent 842feee commit bbd2506

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/src/main/java/org/seasar/doma/quarkus/runtime/DomaRecorder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public static void setHotReplacementResourcesDirs(List<Path> resourcesDirs) {
2020
}
2121

2222
public BeanContainerListener configure(DomaSettings domaSettings, LaunchMode launchMode) {
23+
Objects.requireNonNull(domaSettings);
24+
Objects.requireNonNull(launchMode);
2325
return beanContainer -> {
2426
var producer = beanContainer.instance(DomaProducer.class);
2527
if (launchMode == LaunchMode.DEVELOPMENT) {

0 commit comments

Comments
 (0)