You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by as...@apache.org on 2018/12/29 05:13:57 UTC

[servicecomb-pack] branch 0.3.x updated: Fix Java Doc Error

This is an automated email from the ASF dual-hosted git repository.

asifdxtreme pushed a commit to branch 0.3.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git


The following commit(s) were added to refs/heads/0.3.x by this push:
     new 40c71b7  Fix Java Doc Error
40c71b7 is described below

commit 40c71b77aa5a89e671811eb54b19882cc1577944
Author: asifdxtreme <mo...@huawei.com>
AuthorDate: Sat Dec 29 10:43:31 2018 +0530

    Fix Java Doc Error
---
 .../pack/omega/transaction/annotations/Compensable.java           | 8 ++++----
 .../pack/omega/transaction/annotations/Participate.java           | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

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 a3e9d33..2647832 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.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-/**
+/*
  * Indicates the annotated method will start a sub-transaction. <br>
  * It is suggested to use the Spring Transactional annotation to wrap the sub-transaction method.
  * A <code>@Compensable</code> method should satisfy below requirements:
@@ -38,7 +38,7 @@ import java.lang.annotation.Target;
 @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 @@ public @interface Compensable {
    */
   int retries() default 0;
 
-  /**
+  /*
    * Compensation method name.<br>
    * A compensation method should satisfy below requirements:
    * <ol>
@@ -65,7 +65,7 @@ public @interface Compensable {
 
   int retryDelayInMilliseconds() default 0;
 
-  /**
+  /*
    * <code>@Compensable</code> method timeout, in seconds. <br>
    * 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 8f5c3a2..2e2f7e6 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 @@ import java.lang.annotation.Target;
 
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ElementType.METHOD})
-/**
+/*
  * Indicates the annotated method will start a sub-transaction. <br>
  * A <code>@Participate</code> method should satisfy below requirements:
  * <ol>
@@ -33,7 +33,7 @@ import java.lang.annotation.Target;
  * </ol>
  */
 public @interface Participate {
-  /**
+  /*
    * Confirm method name.<br>
    * A confirm method should satisfy below requirements:
    * <ol>
@@ -47,7 +47,7 @@ public @interface Participate {
    */
   String confirmMethod() default "";
 
-  /**
+  /*
    * Cancel method name.<br>
    * A cancel method should satisfy below requirements:
    * <ol>