cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject cxf git commit: [CXF-7316] Avoid NPE when not using swagger2Serializers (swagger-jaxrs 1.5.13)
Date Fri, 12 May 2017 06:22:26 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes df56ca9fa -> b510792d6


[CXF-7316] Avoid NPE when not using swagger2Serializers (swagger-jaxrs 1.5.13)


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b510792d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b510792d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b510792d

Branch: refs/heads/3.1.x-fixes
Commit: b510792d63c135c2392bd10ac68f1bee7f21edb0
Parents: df56ca9
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Fri May 12 08:20:43 2017 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Fri May 12 08:20:43 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java    | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b510792d/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
----------------------------------------------------------------------
diff --git a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
index d5813b0..350e28f 100644
--- a/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
+++ b/rt/rs/description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
@@ -209,8 +209,6 @@ public class Swagger2Feature extends AbstractSwaggerFeature {
             swagger.setSecurityDefinitions(securityDefinitions);
         }
         
-        swagger2Serializers.setBeanConfig(beanConfig);
-
         if (customizer == null) {
             swagger2Serializers.setBeanConfig(beanConfig);
         } else {


Mime
View raw message