Project

General

Profile

Actions

Bug #13028

closed

Compilation warnings in master

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

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

Also available in: Atom PDF