Project

General

Profile

Actions

Bug #19928

closed

Remove warning about unit expression

Added by Vincent MEMBRÉ over 1 year ago. Updated over 1 year ago.

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

Description

Remove this warning

[WARNING] /home/vince/workspace/rudder-plugins/scale-out-relay/src/main/scala/com/normation/plugins/scaleoutrelay/ScaleOutRelayService.scala:124: warning: multiline expressions might require enclosing parentheses; a value can be silently discarded when Unit is expected
[WARNING]       targetedNode
[WARNING]       ^
[WARNING] /home/vince/workspace/rudder-plugins/scale-out-relay/src/main/scala/com/normation/plugins/scaleoutrelay/ScaleOutRelayService.scala:124: warning: a pure expression does nothing in statement position
[WARNING]       targetedNode
[WARNING]       ^
[WARNING] 2 warnings
Actions #1

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from New to In progress
Actions #2

Updated by Vincent MEMBRÉ over 1 year ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder-plugins/pull/413
Actions #3

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from In progress to Pending release
Actions #4

Updated by Vincent MEMBRÉ over 1 year ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF