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 AC2A2200C68 for ; Wed, 3 May 2017 20:08:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AAD3E160BBC; Wed, 3 May 2017 18:08:17 +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 22D2B160BA1 for ; Wed, 3 May 2017 20:08:16 +0200 (CEST) Received: (qmail 58461 invoked by uid 500); 3 May 2017 18:08:16 -0000 Mailing-List: contact wave-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: wave-dev@incubator.apache.org Delivered-To: mailing list wave-dev@incubator.apache.org Received: (qmail 58426 invoked by uid 99); 3 May 2017 18:08:14 -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; Wed, 03 May 2017 18:08:14 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2C9CEE04AA; Wed, 3 May 2017 18:08:14 +0000 (UTC) From: vega113 To: wave-dev@incubator.apache.org Reply-To: wave-dev@incubator.apache.org References: In-Reply-To: Subject: [GitHub] incubator-wave pull request #24: Workaround WAVE-446 Content-Type: text/plain Message-Id: <20170503180814.2C9CEE04AA@git1-us-west.apache.org> Date: Wed, 3 May 2017 18:08:14 +0000 (UTC) archived-at: Wed, 03 May 2017 18:08:17 -0000 Github user vega113 commented on a diff in the pull request: https://github.com/apache/incubator-wave/pull/24#discussion_r114601665 --- Diff: wave/src/main/java/org/waveprotocol/box/server/frontend/WaveViewSubscription.java --- @@ -154,7 +155,15 @@ public synchronized void submitResponse(WaveletName waveletName, HashedVersion v // Forward any queued deltas. List filteredDeltas = filterOwnDeltas(state.heldBackDeltas, state); if (!filteredDeltas.isEmpty()) { - sendUpdate(waveletName, filteredDeltas, null); + // + // Workaround for WAVE-446 (pablojan@apache.org) + // + for (TransformedWaveletDelta delta: filteredDeltas) { + List singleDeltaList = new ArrayList(1); + singleDeltaList.add(delta); + sendUpdate(waveletName, singleDeltaList, null); + } --- End diff -- Looks like the bracket could use formatting. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---