Project

General

Profile

Actions

Bug #13028

closed

Compilation warnings in master

Added by François ARMAND over 4 years ago. Updated over 4 years ago.

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

Description

These warning must be corrected:


rudder-project/rudder/rudder-rest/src/test/scala/com/normation/rudder/web/rest/SystemApiTest.scala

Warning:(457, 20) local val action in value <local SystemApiTests> is never used
implicit val action = "getDirectivesZipArchive"
Warning:(458, 20) local val prettify in value <local SystemApiTests> is never used
implicit val prettify = false
Warning:(478, 20) local val action in value <local SystemApiTests> is never used
implicit val action = "getGroupsZipArchive"
Warning:(479, 20) local val prettify in value <local SystemApiTests> is never used
implicit val prettify = false
Warning:(491, 20) local val action in value <local SystemApiTests> is never used
implicit val action = "getRulesZipArchive"
Warning:(492, 20) local val prettify in value <local SystemApiTests> is never used
implicit val prettify = false
Warning:(504, 20) local val action in value <local SystemApiTests> is never used
implicit val action = "getFullZipArchive"
Warning:(505, 20) local val prettify in value <local SystemApiTests> is never used
implicit val prettify = false

Warning:(436, 95) match may not be exhaustive.
It would fail on the following inputs: Empty, Failure(_, _, _), Full((x: net.liftweb.http.LiftResponse forSome x not in net.liftweb.http.InMemoryResponse)), ParamFailure()
val response: InMemoryResponse = RestTestSetUp.rudderApi.getLiftRestApi().apply(req).apply() match {

Actions #1

Updated by Pierre HAY over 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by Pierre HAY over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Pierre HAY to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder/pull/2003
Actions #3

Updated by Pierre HAY over 4 years ago

  • Pull Request changed from https://github.com/Normation/rudder/pull/2003 to https://github.com/Normation/rudder/pull/2005
Actions #4

Updated by Anonymous over 4 years ago

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

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.0~beta1 which was released today.
Changelog
Actions

Also available in: Atom PDF