aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject [1/3] aries-jax-rs-whiteboard git commit: Source formatting
Date Tue, 29 Aug 2017 18:27:25 GMT
Repository: aries-jax-rs-whiteboard
Updated Branches:
  refs/heads/master ab76adb4e -> 449f090b3


Source formatting


Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/b10e733b
Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/b10e733b
Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/b10e733b

Branch: refs/heads/master
Commit: b10e733ba48c077c56870768364de8a7a61ab8ba
Parents: ab76adb
Author: Carlos Sierra <csierra@apache.org>
Authored: Tue Aug 29 17:27:11 2017 +0200
Committer: Carlos Sierra <csierra@apache.org>
Committed: Tue Aug 29 17:27:11 2017 +0200

----------------------------------------------------------------------
 .../activator/CXFJaxRsBundleActivator.java         | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/b10e733b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CXFJaxRsBundleActivator.java
----------------------------------------------------------------------
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CXFJaxRsBundleActivator.java
b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CXFJaxRsBundleActivator.java
index 2338de8..fc140b3 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CXFJaxRsBundleActivator.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/activator/CXFJaxRsBundleActivator.java
@@ -40,7 +40,8 @@ import static org.apache.aries.osgi.functional.OSGi.register;
 
 public class CXFJaxRsBundleActivator implements BundleActivator {
 
-    private static final Logger _log = LoggerFactory.getLogger(CXFJaxRsBundleActivator.class);
+    private static final Logger _log = LoggerFactory.getLogger(
+        CXFJaxRsBundleActivator.class);
 
     static {
         RuntimeDelegate.setInstance(new RuntimeDelegateImpl());
@@ -61,19 +62,21 @@ public class CXFJaxRsBundleActivator implements BundleActivator {
 
         _whiteboardsResult = whiteboards.run(bundleContext);
 
-        if (_log.isDebugEnabled()) {
-            _log.debug("Whiteboard factory started");
-        }
-
         Dictionary<String, Object> defaultConfiguration = new Hashtable<>();
 
         defaultConfiguration.put(
-            Constants.SERVICE_PID, "org.apache.aries.jax.rs.whiteboard.default");
+            Constants.SERVICE_PID,
+            "org.apache.aries.jax.rs.whiteboard.default");
 
         _defaultOSGiResult =
-            register(ClientBuilder.class, new ClientBuilderFactory(), null).then(
+            register(
+                ClientBuilder.class, new ClientBuilderFactory(), null).then(
             createWhiteboard(defaultConfiguration))
         .run(bundleContext);
+
+        if (_log.isDebugEnabled()) {
+            _log.debug("Whiteboard factory started");
+        }
     }
 
     @Override


Mime
View raw message