Project

General

Profile

Actions

Bug #19928

closed

Remove warning about unit expression

Added by Vincent MEMBRÉ over 2 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
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

Also available in: Atom PDF