eclipse / microprofile-lra

microprofile-lra
Apache License 2.0
101 stars 30 forks source link

A few mistakes in the spec #352

Closed Emily-Jiang closed 3 years ago

Emily-Jiang commented 3 years ago

In LRA, I spotted the following minor mistakes:

    <artifactId>microprofile-lra-api</artifactId>
    <version>${version.microprofile.lra}</version>
    <version>1.0</version>

should be

     <artifactId>microprofile-lra-api</artifactId>
     <version>1.0</version>
@LRA(LRA.Type.MANDATORY, // requires an active context before method can be executed
       end = true) // end the received LRA when the method finishes

should be

@LRA(value=LRA.Type.MANDATORY, // requires an active context before method can be executed
       end = true) // end the received LRA when the method finishes

@LRA(LRA.Type.NESTED, end = true)should be @LRA(value = LRA.Type.NESTED, end = true)