mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +00:00
Typo - should be @BelongsToContract not @BelongToContract (#5029)
This commit is contained in:
parent
2f625c7dc7
commit
696bbd92ef
@ -87,7 +87,7 @@ indicating the ``Contract`` class to which it is tied:
|
||||
|
||||
.. sourcecode:: java
|
||||
|
||||
@BelongToContract(MyContract.class)
|
||||
@BelongsToContract(MyContract.class)
|
||||
public class MyState implements ContractState {
|
||||
// implementation goes here
|
||||
}
|
||||
@ -270,4 +270,4 @@ Wrong fully-qualified contract name
|
||||
|
||||
You are specifying the fully-qualified name of the contract incorrectly. For example, you've defined ``MyContract`` in
|
||||
the package ``com.mycompany.myapp.contracts``, but the fully-qualified contract name you pass to the
|
||||
``TransactionBuilder`` is ``com.mycompany.myapp.MyContract`` (instead of ``com.mycompany.myapp.contracts.MyContract``).
|
||||
``TransactionBuilder`` is ``com.mycompany.myapp.MyContract`` (instead of ``com.mycompany.myapp.contracts.MyContract``).
|
||||
|
Loading…
x
Reference in New Issue
Block a user