Skip to content

Commit 1683a35

Browse files
committed
Add explicit String cast in ProvidersChecker
1 parent 1a56f28 commit 1683a35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/java/org/restheart/plugins/ProvidersChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ static boolean checkDependencies(Logger LOGGER, Set<PluginDescriptor> validProvi
292292
// Check if the provider exists in the full list but is disabled.
293293
// In native images, plugins with enabledByDefault=false are compiled
294294
// in (build-time override) but disabled at runtime via config.
295-
var allProvider = providerDescriptorFromName(providerName);
295+
var allProvider = providerDescriptorFromName((String) providerName);
296296
if (allProvider != null && !enabled(allProvider)) {
297297
LOGGER.debug("Plugin {} disabled: the provider for @Inject(\"{}\") is disabled", plugin.name(), providerName);
298298
} else {

0 commit comments

Comments
 (0)