Skip to content

Commit

Permalink
Make facade ID non nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
ac101m committed Oct 11, 2023
1 parent b619b2e commit a5aa8c7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import net.corda.v5.application.interop.facade.FacadeRequest;
import net.corda.v5.application.interop.facade.FacadeResponse;
import net.corda.v5.base.annotations.Suspendable;
import org.jetbrains.annotations.NotNull;

/**
* Service to perform Corda to Corda interoperability calls using Facades.
Expand All @@ -22,7 +23,7 @@ public interface FacadeService {
* instance invokes a Facade method on a peer Identity denoted by an <code>alias</code> from an <code>interopGroup</code>.
*/
@Suspendable
<T> T getProxy(FacadeId facadeId, Class<T> expectedType, InterOpIdentityInfo interopIdentity);
<T> T getProxy(@NotNull FacadeId facadeId, Class<T> expectedType, InterOpIdentityInfo interopIdentity);

/**
* Interprets a Facade request and invokes a matching method on the target class.
Expand Down

0 comments on commit a5aa8c7

Please sign in to comment.