Suppress varargs unchecked warning, remove unnecessary NotNull annotation
This commit is contained in:
parent
7062445a2e
commit
2bcc9d6fb5
@ -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");
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user