Suppress/fix more warnings

This commit is contained in:
Christian Sailer 2019-10-29 17:09:39 +00:00 committed by LankyDan
parent 9f15457045
commit f670cf774b
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ class FlowRetryTest {
TransientConnectionFailureFlow.retryCount = -1
WrappedTransientConnectionFailureFlow.retryCount = -1
GeneralExternalFailureFlow.retryCount = -1
StaffedFlowHospital.DatabaseEndocrinologist.customConditions.add { t -> true }
StaffedFlowHospital.DatabaseEndocrinologist.customConditions.add { true }
}
@After

View File

@ -2053,6 +2053,7 @@ class GetHospitalCountersFlow : FlowLogic<HospitalCounts>() {
@CordaSerializable
data class HospitalCounts(val discharge: Int, val observation: Int)
@Suppress("UNUSED_PARAMETER")
@CordaService
class HospitalCounter(services: AppServiceHub) : SingletonSerializeAsToken() {
var observationCounter: Int = 0