From 0adc8292d5ab1b66628acf70e8e00525d730d875 Mon Sep 17 00:00:00 2001 From: Tony Lawson Date: Thu, 29 Jun 2023 10:01:40 +0100 Subject: [PATCH] CORE-15002: Suppress unchecked cast warning in contract test (#53) --- .../utxoexample/contracts/ChatContractUpdateCommandTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/src/test/java/com/r3/developers/csdetemplate/utxoexample/contracts/ChatContractUpdateCommandTest.java b/contracts/src/test/java/com/r3/developers/csdetemplate/utxoexample/contracts/ChatContractUpdateCommandTest.java index e9bcf4f..cb66a1f 100644 --- a/contracts/src/test/java/com/r3/developers/csdetemplate/utxoexample/contracts/ChatContractUpdateCommandTest.java +++ b/contracts/src/test/java/com/r3/developers/csdetemplate/utxoexample/contracts/ChatContractUpdateCommandTest.java @@ -13,6 +13,7 @@ import static com.r3.developers.csdetemplate.utxoexample.contracts.ChatContract. public class ChatContractUpdateCommandTest extends ContractTest { + @SuppressWarnings("unchecked") private StateAndRef createInitialChatState() { ChatState outputChatState = new ChatContractCreateCommandTest().outputChatState; UtxoSignedTransaction transaction = getLedgerService()