felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1727715 - /felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dm/lambda/samples/device/DeviceAccessImpl.java
Date Sat, 30 Jan 2016 15:27:06 GMT
Author: pderop
Date: Sat Jan 30 15:27:05 2016
New Revision: 1727715

URL: http://svn.apache.org/viewvc?rev=1727715&view=rev
Log:
Code reformatting.

Modified:
    felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dm/lambda/samples/device/DeviceAccessImpl.java

Modified: felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dm/lambda/samples/device/DeviceAccessImpl.java
URL: http://svn.apache.org/viewvc/felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dm/lambda/samples/device/DeviceAccessImpl.java?rev=1727715&r1=1727714&r2=1727715&view=diff
==============================================================================
--- felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dm/lambda/samples/device/DeviceAccessImpl.java
(original)
+++ felix/sandbox/pderop/dependencymanager-lambda/org.apache.felix.dependencymanager.lambda.samples/src/org/apache/felix/dm/lambda/samples/device/DeviceAccessImpl.java
Sat Jan 30 15:27:05 2016
@@ -30,12 +30,12 @@ public class DeviceAccessImpl implements
     volatile DeviceParameter deviceParameter;
 
     void init(Component c) {
-        // Dynamically add an extra dependency on a DeviceParameter (using java8 builder).
+        // Dynamically add an extra dependency on a DeviceParameter.
     	// Notice that we also add a "device.access.id" service property dynamically.
                 
         component(c, builder -> builder
-        		.properties("device.access.id", device.getDeviceId())
-        		.withSrv(DeviceParameter.class, srv -> srv.filter("(device.id=" + device.getDeviceId()
+ ")")));
+            .properties("device.access.id", device.getDeviceId())
+            .withSrv(DeviceParameter.class, srv -> srv.filter("(device.id=" + device.getDeviceId()
+ ")")));
     }
     
     @Override



Mime
View raw message