cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] cxf git commit: [CXF-7318] Fixing Continuation.suspend docs
Date Fri, 07 Apr 2017 10:32:27 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 8499493df -> 58aa275bc


[CXF-7318] Fixing Continuation.suspend docs


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/deebcc20
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/deebcc20
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/deebcc20

Branch: refs/heads/3.0.x-fixes
Commit: deebcc20e32fc95727d1aa2bccb1626b1f604a0b
Parents: 8499493
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Apr 7 11:26:28 2017 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Apr 7 11:32:14 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/continuations/Continuation.java  | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/deebcc20/core/src/main/java/org/apache/cxf/continuations/Continuation.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/continuations/Continuation.java b/core/src/main/java/org/apache/cxf/continuations/Continuation.java
index d33140c..a7fc9f9 100644
--- a/core/src/main/java/org/apache/cxf/continuations/Continuation.java
+++ b/core/src/main/java/org/apache/cxf/continuations/Continuation.java
@@ -28,10 +28,9 @@ public interface Continuation {
     /** 
      * This method will suspend the request for the timeout or until resume is
      * called
-     * 
-     * @param timeout A timeout of < 0 will cause an immediate return.
-     * A timeout of 0 will wait indefinitely.
-     * @return True if resume called or false if timeout.
+     *
+     * @param timeout the suspend timeout, timeout of 0 will suspend the request indefinitely.
+     * @return true if if suspend was successful.
      */
     boolean suspend(long timeout);
     


Mime
View raw message