Project

General

Profile

Bug #7356

Correct a warning in rudder compilation

Added by François ARMAND over 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
2
Category:
Architecture - Refactoring
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

The warning is real and may lead to a runtime error:

is is likely due to an implementation restriction: an annotation argument cannot refer to a member of the annotated class (SI-7014).
[WARNING] /home/fanf/java/workspaces/rudder-project/rudder/rudder-web/src/main/scala/com/normation/rudder/appconfig/ConfigService.scala:225: warning: match may not be exhaustive.
[WARNING] It would fail on the following input: Empty
[WARNING] toInt(get("agent_run_interval")) match {
[WARNING] ^


Subtasks

Bug #7365: There is scala compilation warning in Rudder 3.0ReleasedNicolas CHARLES2015-11-03Actions
#1

Updated by François ARMAND over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/947
#2

Updated by François ARMAND over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#4

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.20, 2.11.17, 3.0.12 and 3.1.5 which were released today.

Also available in: Atom PDF