You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2019/03/25 03:12:52 UTC

[servicecomb-pack] branch master updated: Fixed the javadoc build error

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0a37706  Fixed the javadoc build error
0a37706 is described below

commit 0a37706af93025cfad59c5dceb442584763f1162
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Mon Mar 25 11:12:31 2019 +0800

    Fixed the javadoc build error
---
 .../pack/omega/transaction/annotations/Compensable.java        | 10 +++++-----
 .../pack/omega/transaction/annotations/Participate.java        |  4 ++--
 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..0e24029 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
@@ -42,10 +42,10 @@ 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
-   * value > 0, which means the retry number
-   * value < -1, an IllegalArgumentException will be thrown
+   * value &gt; 0, which means the retry number
+   * value &lt; -1, an IllegalArgumentException will be thrown
    *
-   * @return
+   * @return the retries number
    */
   int retries() default 0;
 
@@ -59,7 +59,7 @@ public @interface Compensable {
    *   <li>be in the same class as @Compensable method is in</li>
    * </ol>
    *
-   * @return
+   * @return the compensation method name
    */
   String compensationMethod() default "";
 
@@ -69,7 +69,7 @@ public @interface Compensable {
    * <code>@Compensable</code> method timeout, in seconds. <br>
    * Default value is 0, which means never timeout.
    *
-   * @return
+   * @return the timeout value
    */
   int timeout() default 0;
 }
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..c92bd60 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
@@ -43,7 +43,7 @@ public @interface Participate {
    *   <li>be in the same class as @Participate method is in</li>
    * </ol>
    *
-   * @return
+   * @return the confirmation method name
    */
   String confirmMethod() default "";
 
@@ -57,7 +57,7 @@ public @interface Participate {
    *   <li>be in the same class as @Participate method is in</li>
    * </ol>
    *
-   * @return
+   * @return the cancel method name
    */
   String cancelMethod() default "";