Project

General

Profile

Actions

Bug #20606

closed

Remove warning messages

Bug #20606: Remove warning messages

Added by Elaad FURREEDAN almost 4 years ago. Updated almost 4 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))

Updated by Elaad FURREEDAN almost 4 years ago Actions #1

[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

Updated by Elaad FURREEDAN almost 4 years ago Actions #2

  • Status changed from New to In progress

Updated by Elaad FURREEDAN almost 4 years ago Actions #3

  • 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

Updated by Anonymous almost 4 years ago Actions #4

  • Status changed from Pending technical review to Pending release

Updated by Alexis Mousset almost 4 years ago Actions #5

  • Category set to Architecture - Code maintenance

Updated by Vincent MEMBRÉ almost 4 years ago Actions #6

  • 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: PDF Atom