usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [15/36] usergrid git commit: remove observable
Date Thu, 01 Oct 2015 16:27:50 GMT
remove observable


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

Branch: refs/heads/master
Commit: 407ebe037beb275c92183b450b0885d2b421a27b
Parents: a5b51c9
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Fri Sep 25 13:35:59 2015 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Fri Sep 25 13:35:59 2015 -0600

----------------------------------------------------------------------
 .../usergrid/persistence/index/impl/EsIndexProducerImpl.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/407ebe03/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsIndexProducerImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsIndexProducerImpl.java
b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsIndexProducerImpl.java
index ef59abb..9223293 100644
--- a/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsIndexProducerImpl.java
+++ b/stack/corepersistence/queryindex/src/main/java/org/apache/usergrid/persistence/index/impl/EsIndexProducerImpl.java
@@ -141,7 +141,7 @@ public class EsIndexProducerImpl implements IndexProducer {
 
         //now that we've processed them all, ack the futures after our last batch comes through
         final Observable<IndexOperationMessage> processedIndexOperations =
-            requests.lastOrDefault(null).flatMap(lastRequest -> {
+            requests.flatMap(lastRequest -> {
                 if (lastRequest != null) {
                     return Observable.just(batch);
                 } else {


Mime
View raw message