Project

General

Profile

Actions

Bug #20606

closed

Remove warning messages

Added by Elaad FURREEDAN almost 3 years ago. Updated almost 3 years ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Code maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

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

Actions #1

Updated by Elaad FURREEDAN almost 3 years 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 almost 3 years ago

  • Status changed from New to In progress
Actions #3

Updated by Elaad FURREEDAN almost 3 years 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 almost 3 years ago

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

Updated by Alexis Mousset almost 3 years ago

  • Category set to Architecture - Code maintenance
Actions #6

Updated by Vincent MEMBRÉ almost 3 years 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