Project

General

Profile

Actions

Bug #20606

closed

Remove warning messages

Added by Elaad FURREEDAN 10 months ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Refactoring
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

Replace Some(a, b) by Some((a, b))

Actions #1

Updated by Elaad FURREEDAN 10 months ago

[WARNING]         signature: Some.apply[A](value: A): Some[A]
[WARNING]   given arguments: root, cat
[WARNING]  after adaptation: Some((root, cat): (com.normation.rudder.rule.category.RuleCategory, com.normation.rudder.rule.category.RuleCategory))
[WARNING]                 case Some(cat) => Some(root, cat)
[WARNING]                                       ^
[WARNING] /home/elaad/rudder/webapp/sources/rudder/rudder-rest/src/main/scala/com/normation/rudder/rest/lift/RuleApi.scala:1016: warning: adapted the argument list to the expected 2-tuple: add additional parens instead
[WARNING]         signature: Some.apply[A](value: A): Some[A]
[WARNING]   given arguments: root, missingCategory
[WARNING]  after adaptation: Some((root, missingCategory): (com.normation.rudder.rule.category.RuleCategory, com.normation.rudder.rule.category.RuleCategory))
[WARNING]                     Some(root, missingCategory)
[WARNING]                         ^
[WARNING] 2 warnings
Actions #2

Updated by Elaad FURREEDAN 10 months ago

  • Status changed from New to In progress
Actions #3

Updated by Elaad FURREEDAN 10 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Elaad FURREEDAN to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/4126
Actions #4

Updated by Anonymous 10 months ago

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

Updated by Alexis Mousset 10 months ago

  • Category set to Architecture - Refactoring
Actions #6

Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~rc3 which was released today.

Actions

Also available in: Atom PDF