cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cxf git commit: fixed terms URL assignment
Date Tue, 05 Sep 2017 19:37:06 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 3453c6cca -> 9cfa3934e


fixed terms URL assignment


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

Branch: refs/heads/master
Commit: 9cfa3934ec411a24e172ea9d7dacfa115bc0c79e
Parents: 3453c6c
Author: Dennis Kieselhorst <deki@apache.org>
Authored: Tue Sep 5 21:37:00 2017 +0200
Committer: Dennis Kieselhorst <deki@apache.org>
Committed: Tue Sep 5 21:37:00 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/9cfa3934/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 4679e6e..b85f35d 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
@@ -327,7 +327,7 @@ public class Swagger2Feature extends AbstractSwaggerFeature {
         // terms of service url
         String theTermsUrl = getTermsOfServiceUrl();
         if (theTermsUrl == null && props != null) {
-            theContact = props.getProperty(TERMS_URL_PROPERTY);
+            theTermsUrl = props.getProperty(TERMS_URL_PROPERTY);
         }
         beanConfig.setTermsOfServiceUrl(theTermsUrl);
         


Mime
View raw message