Skip to content

Commit b9b0317

Browse files
committed
chore: make DefaultEventSourceManager::registerEventSource final as it is invoked by the constructor
1 parent 8106333 commit b9b0317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/DefaultEventSourceManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void registerCustomResourceEventSource(
3636
}
3737

3838
@Override
39-
public void registerEventSource(String name, EventSource eventSource) {
39+
public final void registerEventSource(String name, EventSource eventSource) {
4040
Objects.requireNonNull(eventSource, "EventSource must not be null");
4141

4242
try {

0 commit comments

Comments
 (0)