This is an automated email from the ASF dual-hosted git repository.

sergeyb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new f0641d0  [CXF-7630] One more minor update
f0641d0 is described below

commit f0641d095edf061ec7a1649bdb52bb5aaddf1099
Author: Sergey Beryozkin <sberyoz...@gmail.com>
AuthorDate: Fri Feb 2 13:09:06 2018 +0000

    [CXF-7630] One more minor update
---
 .../main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
index 574da66..10bf0b9 100644
--- 
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
+++ 
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
@@ -1264,11 +1264,11 @@ public abstract class ProviderFactory {
     }
 
     protected static Set<String> getFilterNameBindings(ProviderInfo<?> p) {
-        Set<String> names = null;
         if (p instanceof FilterProviderInfo) {
-            names = ((FilterProviderInfo<?>)p).getNameBindings();
-        } 
-        return names == null ? getFilterNameBindings(p.getBus(), 
p.getProvider()) : names;
+            return ((FilterProviderInfo<?>)p).getNameBindings();
+        } else {
+            return getFilterNameBindings(p.getBus(), p.getProvider());
+        }
         
     }
     protected static Set<String> getFilterNameBindings(Bus bus, Object 
provider) {

-- 
To stop receiving notification emails like this one, please contact
serg...@apache.org.

Reply via email to