Skip to content

Commit 50385b0

Browse files
metacosmcsviri
authored andcommitted
chore: reformat, minor fixes
Signed-off-by: Chris Laprun <claprun@redhat.com>
1 parent 1daf201 commit 50385b0

File tree

2 files changed

+411
-425
lines changed

2 files changed

+411
-425
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/kubernetes/KubernetesDependentResource.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ public abstract class KubernetesDependentResource<R extends HasMetadata, P exten
4040
private static final Logger log = LoggerFactory.getLogger(KubernetesDependentResource.class);
4141
private final boolean garbageCollected = this instanceof GarbageCollected;
4242
@SuppressWarnings("unchecked")
43-
private final ResourceUpdaterMatcher<R> updaterMatcher = this instanceof ResourceUpdaterMatcher
44-
? (ResourceUpdaterMatcher<R>) this
45-
: GenericResourceUpdaterMatcher.updaterMatcherFor(resourceType());
43+
private final ResourceUpdaterMatcher<R> updaterMatcher = this instanceof ResourceUpdaterMatcher ? (ResourceUpdaterMatcher<R>) this : GenericResourceUpdaterMatcher.updaterMatcherFor(resourceType());
4644
private final boolean clustered;
4745
private KubernetesDependentResourceConfig<R> kubernetesDependentResourceConfig;
4846
private volatile Boolean useSSA;
4947

50-
@SuppressWarnings("unchecked")
5148
public KubernetesDependentResource(Class<R> resourceType) {
5249
this(resourceType, null);
5350
}

0 commit comments

Comments
 (0)