Suppress varargs unchecked warning, remove unnecessary NotNull annotation

This commit is contained in:
Chris Barratt 2022-10-19 01:14:28 +01:00
parent 7062445a2e
commit 2bcc9d6fb5
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class MyFirstFlow implements RPCStartableFlow {
@NotNull
@Suspendable
@Override
public String call(@NotNull RPCRequestData requestBody) {
public String call(RPCRequestData requestBody) {
// Useful logging to follow what's happening in the console or logs
log.info("MFF: MyFirstFlow.call() called");

View File

@ -15,8 +15,8 @@ class MyFirstFlowTest {
private MemberX500Name bobX500 = MemberX500Name.parse("CN=Bob, OU=Test Dept, O=R3, L=London, C=GB");
@Test
@SuppressWarnings("unchecked")
public void test_that_MyFirstFLow_returns_correct_message() {
// Instantiate an instance of the Simulator
Simulator simulator = new Simulator();