diff --git a/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Compensable.java b/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Compensable.java index a3e9d33e6..2647832e2 100644 --- a/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Compensable.java +++ b/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Compensable.java @@ -22,7 +22,7 @@ import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; -/** +/* * Indicates the annotated method will start a sub-transaction.
* It is suggested to use the Spring Transactional annotation to wrap the sub-transaction method. * A @Compensable method should satisfy below requirements: @@ -38,7 +38,7 @@ @Retention(RetentionPolicy.RUNTIME) public @interface Compensable { - /** + /* * The retires number of the compensable method. * Default value is 0, which means never retry it * value is -1, which means retry it until succeed @@ -49,7 +49,7 @@ */ int retries() default 0; - /** + /* * Compensation method name.
* A compensation method should satisfy below requirements: *
    @@ -65,7 +65,7 @@ int retryDelayInMilliseconds() default 0; - /** + /* * @Compensable method timeout, in seconds.
    * Default value is 0, which means never timeout. * diff --git a/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Participate.java b/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Participate.java index 8f5c3a257..2e2f7e62c 100644 --- a/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Participate.java +++ b/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/annotations/Participate.java @@ -23,7 +23,7 @@ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) -/** +/* * Indicates the annotated method will start a sub-transaction.
    * A @Participate method should satisfy below requirements: *
      @@ -33,7 +33,7 @@ *
    */ public @interface Participate { - /** + /* * Confirm method name.
    * A confirm method should satisfy below requirements: *
      @@ -47,7 +47,7 @@ */ String confirmMethod() default ""; - /** + /* * Cancel method name.
      * A cancel method should satisfy below requirements: *