Repository: incubator-wave
Updated Branches:
  refs/heads/master 45a076894 -> ed27695d1


Revert "Fixes tests"

This reverts commit 45a07689423a32daafa25cd92ecba304f852c38f.


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

Branch: refs/heads/master
Commit: ed27695d102e55c924c6c90761fd9e3484905742
Parents: 45a0768
Author: Yuri Zelikov <[email protected]>
Authored: Thu Aug 28 00:40:08 2014 +0300
Committer: Yuri Zelikov <[email protected]>
Committed: Thu Aug 28 00:40:08 2014 +0300

----------------------------------------------------------------------
 .../box/server/waveserver/AbstractSearchProviderImpl.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/ed27695d/src/org/waveprotocol/box/server/waveserver/AbstractSearchProviderImpl.java
----------------------------------------------------------------------
diff --git 
a/src/org/waveprotocol/box/server/waveserver/AbstractSearchProviderImpl.java 
b/src/org/waveprotocol/box/server/waveserver/AbstractSearchProviderImpl.java
index 4407dd3..e026a81 100644
--- a/src/org/waveprotocol/box/server/waveserver/AbstractSearchProviderImpl.java
+++ b/src/org/waveprotocol/box/server/waveserver/AbstractSearchProviderImpl.java
@@ -108,14 +108,14 @@ public abstract class AbstractSearchProviderImpl 
implements SearchProvider {
       WaveletContainer waveletContainer = null;
       WaveletName waveletname = WaveletName.of(waveId, waveletId);
 
+
       // TODO (Yuri Z.) This loop collects all the wavelets that match the
       // query, so the view is determined by the query. Instead we should
       // look at the user's wave view and determine if the view matches the
       // query.
       try {
         waveletContainer = waveMap.getWavelet(waveletname);
-        if ((waveletContainer == null) || IdUtil.isUserDataWavelet(waveletId)
-            || !waveletContainer.applyFunction(matchesFunction)) {
+        if ((waveletContainer == null) || 
!waveletContainer.applyFunction(matchesFunction)) {
           continue;
         }
         // Just keep adding all the relevant wavelets in this wave.

Reply via email to