Project

General

Profile

Bug #13028

Compilation warnings in master

Added by François ARMAND 5 months ago. Updated 4 months ago.

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

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 {

Associated revisions

Revision 2eff4d76 (diff)
Added by Pierre Hay 5 months ago

Fixes #13028: Compilation warnings in master

History

#1 Updated by Pierre HAY 5 months ago

  • Status changed from New to In progress

#2 Updated by Pierre HAY 5 months 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

#3 Updated by Pierre HAY 5 months ago

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

#4 Updated by Anonymous 5 months ago

  • Status changed from Pending technical review to Pending release

#5 Updated by Vincent MEMBRÉ 4 months ago

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

Also available in: Atom PDF