Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CA1FB200C5D for ; Fri, 7 Apr 2017 12:26:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C8B46160B97; Fri, 7 Apr 2017 10:26:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1C725160B93 for ; Fri, 7 Apr 2017 12:26:48 +0200 (CEST) Received: (qmail 90934 invoked by uid 500); 7 Apr 2017 10:26:48 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 90910 invoked by uid 99); 7 Apr 2017 10:26:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2017 10:26:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A2563E0F98; Fri, 7 Apr 2017 10:26:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: [CXF-7318] Fixing Continuation.suspend docs Date: Fri, 7 Apr 2017 10:26:46 +0000 (UTC) archived-at: Fri, 07 Apr 2017 10:26:50 -0000 Repository: cxf Updated Branches: refs/heads/master b6a4763dc -> 7aa8ebf54 [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/7aa8ebf5 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/7aa8ebf5 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/7aa8ebf5 Branch: refs/heads/master Commit: 7aa8ebf5450c0a399e86fe5d50865fcd22849f63 Parents: b6a4763 Author: Sergey Beryozkin Authored: Fri Apr 7 11:26:28 2017 +0100 Committer: Sergey Beryozkin Committed: Fri Apr 7 11:26:28 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/cxf/continuations/Continuation.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/7aa8ebf5/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 687d3b6..d57e4e3 100644 --- a/core/src/main/java/org/apache/cxf/continuations/Continuation.java +++ b/core/src/main/java/org/apache/cxf/continuations/Continuation.java @@ -29,9 +29,8 @@ 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);