cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [2/2] cxf git commit: fixed terms URL assignment
Date Tue, 05 Sep 2017 19:39:16 GMT
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 <deki@apache.org>
Authored: Tue Sep 5 21:37:00 2017 +0200
Committer: Dennis Kieselhorst <mail@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);
         


Mime
View raw message