Bug #23986
closedRemove warning about missing ()
Description
00:16:13 [WARNING] /srv/****/workspace/dder-plugins_branches_rudder_7.3/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala:152: warning: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method isEnabled,
00:16:13 [WARNING] or remove the empty argument list from its definition (Java-defined methods are exempt).
00:16:13 [WARNING] In Scala 3, an unapplied method like this will be eta-expanded into a function.
00:16:13 [WARNING] pluginStatusService.isEnabled
00:16:13 [WARNING] ^
00:16:13 [WARNING] /srv/****/workspace/dder-plugins_branches_rudder_7.3/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala:162: warning: Auto-application to `()` is deprecated. Supply the empty argument list `()` explicitly to invoke method isEnabled,
00:16:13 [WARNING] or remove the empty argument list from its definition (Java-defined methods are exempt).
00:16:13 [WARNING] In Scala 3, an unapplied method like this will be eta-expanded into a function.
00:16:13 [WARNING] override def allowedToUseBackend(name: String): Boolean = pluginStatusService.isEnabled
00:16:13 [WARNING] ^
00:16:31 [ERROR] error: No warnings can be incurred under -Werror.