aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject [4/4] aries-jax-rs-whiteboard git commit: Source formatting
Date Mon, 28 Aug 2017 18:46:02 GMT
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/ae179e02
Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/ae179e02
Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/ae179e02

Branch: refs/heads/master
Commit: ae179e0265d4055bfcaf2d6744a3098c1ce602c7
Parents: ac30c89
Author: Carlos Sierra <csierra@apache.org>
Authored: Mon Aug 28 20:40:37 2017 +0200
Committer: Carlos Sierra <csierra@apache.org>
Committed: Mon Aug 28 20:40:37 2017 +0200

----------------------------------------------------------------------
 .../jax/rs/whiteboard/internal/Whiteboard.java  | 33 ++++++++++----------
 1 file changed, 17 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/ae179e02/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
----------------------------------------------------------------------
diff --git a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
index 4b3ed9b..5787fa4 100644
--- a/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
+++ b/jax-rs.whiteboard/src/main/java/org/apache/aries/jax/rs/whiteboard/internal/Whiteboard.java
@@ -58,6 +58,7 @@ import java.util.HashSet;
 import java.util.Hashtable;
 import java.util.Map;
 import java.util.Optional;
+import java.util.concurrent.CopyOnWriteArrayList;
 import java.util.concurrent.atomic.AtomicLong;
 import java.util.function.Consumer;
 import java.util.function.Function;
@@ -105,20 +106,21 @@ public class Whiteboard {
             ServiceTuple::getServiceReference).andThen(
                 sr -> getApplicationBase(sr::getProperty));
 
-    public static final Collection<String> SUPPORTED_EXTENSION_INTERFACES = new HashSet<>(
-        Arrays.asList(
-            ContainerRequestFilter.class.getName(),
-            ContainerResponseFilter.class.getName(),
-            ReaderInterceptor.class.getName(),
-            WriterInterceptor.class.getName(),
-            MessageBodyReader.class.getName(),
-            MessageBodyWriter.class.getName(),
-            ContextResolver.class.getName(),
-            ExceptionMapper.class.getName(),
-            ParamConverterProvider.class.getName(),
-            Feature.class.getName(),
-            DynamicFeature.class.getName()
-        ));
+    public static final Collection<String> SUPPORTED_EXTENSION_INTERFACES =
+        new HashSet<>(
+            Arrays.asList(
+                ContainerRequestFilter.class.getName(),
+                ContainerResponseFilter.class.getName(),
+                ReaderInterceptor.class.getName(),
+                WriterInterceptor.class.getName(),
+                MessageBodyReader.class.getName(),
+                MessageBodyWriter.class.getName(),
+                ContextResolver.class.getName(),
+                ExceptionMapper.class.getName(),
+                ParamConverterProvider.class.getName(),
+                Feature.class.getName(),
+                DynamicFeature.class.getName()
+            ));
 
     public static final String DEFAULT_NAME = ".default";
 
@@ -244,8 +246,7 @@ public class Whiteboard {
 
         Map<String, Object> properties = getProperties(serviceReference);
 
-        properties.put(
-            JAX_RS_NAME, applicationName);
+        properties.put(JAX_RS_NAME, applicationName);
         properties.put(
             "original.objectClass",
             serviceReference.getProperty("objectClass"));


Mime
View raw message