You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by pd...@apache.org on 2015/12/14 10:59:20 UTC
svn commit: r1719871 -
/felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dependencymanager/lambda/samples/rx/completable/README
Author: pderop
Date: Mon Dec 14 09:59:20 2015
New Revision: 1719871
URL: http://svn.apache.org/viewvc?rev=1719871&view=rev
Log:
fixed typo.
Modified:
felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dependencymanager/lambda/samples/rx/completable/README
Modified: felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dependencymanager/lambda/samples/rx/completable/README
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dependencymanager/lambda/samples/rx/completable/README?rev=1719871&r1=1719870&r2=1719871&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dependencymanager/lambda/samples/rx/completable/README (original)
+++ felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dependencymanager/lambda/samples/rx/completable/README Mon Dec 14 09:59:20 2015
@@ -24,7 +24,7 @@ public class Activator extends Dependenc
.provides(DownloadService.class)
.impl(Download.class)
.withService(LogService.class, srv -> srv.onAdd(FelixSiteImpl::bind))
- .withFuture(pageFuture, depbuilder -> depbuilder.thenAccept(content -> Download::setContent)));
+ .withFuture(pageFuture, depbuilder -> depbuilder.thenAccept(Download::setContent)));
}
}
@@ -103,4 +103,4 @@ The important part to understand is the
here, we wrap the links (which is an Observable<List<String>> into the ObservableCompletableFuture helper that was
presented previously. And when the CompletableFuture will complete , it will call the "thenAccept(this::setLinks)" method in order to inject
-the result into the component before the component.start() method, exactly in the same manner when a required dependency is injected before start().
\ No newline at end of file
+the result into the component before the component.start() method, exactly in the same manner when a required dependency is injected before start().