CORE-15002: Suppress unchecked cast warning in contract test (#53)

This commit is contained in:
Tony Lawson 2023-06-29 10:01:40 +01:00 committed by GitHub
parent 20e3dd38b3
commit 0adc8292d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ import static com.r3.developers.csdetemplate.utxoexample.contracts.ChatContract.
public class ChatContractUpdateCommandTest extends ContractTest { public class ChatContractUpdateCommandTest extends ContractTest {
@SuppressWarnings("unchecked")
private StateAndRef<ChatState> createInitialChatState() { private StateAndRef<ChatState> createInitialChatState() {
ChatState outputChatState = new ChatContractCreateCommandTest().outputChatState; ChatState outputChatState = new ChatContractCreateCommandTest().outputChatState;
UtxoSignedTransaction transaction = getLedgerService() UtxoSignedTransaction transaction = getLedgerService()