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:37:06 UTC
cxf git commit: fixed terms URL assignment
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 <de...@apache.org>
Authored: Tue Sep 5 21:37:00 2017 +0200
Committer: Dennis Kieselhorst <de...@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);