Skip to content

Commit 0cd2a90

Browse files
metacosmcsviri
authored andcommitted
docs: improve wording
1 parent 440bf0f commit 0cd2a90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/ControllerManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import io.javaoperatorsdk.operator.processing.Controller;
1212

1313
/**
14-
* Not confuse with controller manager form go operators. The highest level aggregate is
15-
* {@link Operator} in JOSDK.
14+
* Not to be confused with the controller manager concept from Go's controller-runtime project. In
15+
* JOSDK, the equivalent concept is {@link Operator}.
1616
*/
1717
class ControllerManager {
1818

@@ -48,7 +48,7 @@ public synchronized void startEventProcessing() {
4848
controllers().parallelStream().forEach(Controller::startEventProcessing);
4949
}
5050

51-
@SuppressWarnings("unchecked")
51+
@SuppressWarnings({"unchecked", "rawtypes"})
5252
synchronized void add(Controller controller) {
5353
final var configuration = controller.getConfiguration();
5454
final var resourceTypeName = ReconcilerUtils

0 commit comments

Comments
 (0)