Skip to content

Commit 409e4ee

Browse files
committed
fix: prepare for stricter types in Fabric8 6.9.2
Signed-off-by: Chris Laprun <[email protected]>
1 parent 4456a0e commit 409e4ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/deployment/src/main/java/io/quarkiverse/operatorsdk/deployment/CRDGeneration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ boolean scheduleForGenerationIfNeeded(CustomResourceAugmentedClassInfo crInfo,
144144
return scheduleCurrent;
145145
}
146146

147-
@SuppressWarnings("rawtypes")
148-
public void withCustomResource(Class<? extends CustomResource> crClass, String crdName, String associatedControllerName) {
147+
public void withCustomResource(Class<? extends CustomResource<?, ?>> crClass, String crdName,
148+
String associatedControllerName) {
149149
// first check if the CR is not filtered out
150150
if (crdConfiguration.excludeResources.map(excluded -> excluded.contains(crClass.getName())).orElse(false)) {
151151
log.infov("CRD generation was skipped for ''{0}'' because it was excluded from generation", crClass.getName());

0 commit comments

Comments
 (0)