Project

General

Profile

Actions

Bug #23986

closed

Remove warning about missing ()

Added by François ARMAND 4 months ago. Updated 3 months ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

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.

Actions

Also available in: Atom PDF