You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by de...@apache.org on 2017/09/05 19:39:16 UTC

[2/2] cxf git commit: fixed terms URL assignment

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/46d5cebc
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/46d5cebc
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/46d5cebc

Branch: refs/heads/3.1.x-fixes
Commit: 46d5cebc983c7b21d736fd8fa82d61680f86db6c
Parents: c580a91
Author: Dennis Kieselhorst <de...@apache.org>
Authored: Tue Sep 5 21:37:00 2017 +0200
Committer: Dennis Kieselhorst <ma...@dekies.de>
Committed: Tue Sep 5 21:38:40 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/46d5cebc/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 4f8fad6..e6ea436 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
@@ -353,7 +353,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);