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 #1

Updated by François ARMAND 4 months ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND 4 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/625
Actions #3

Updated by Anonymous 4 months ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Alexis Mousset 3 months ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder plugin auth-backends v8.0.5-2.7

Actions #6

Updated by Vincent MEMBRÉ 3 months ago

This bug has been fixed in Rudder plugin auth-backends v7.3.11-2.7

Actions

Also available in: Atom PDF