cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: [CXF-6586] fix the typos
Date Wed, 09 Sep 2015 12:00:54 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes fc9279030 -> 7a812e99f


[CXF-6586] fix the typos


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

Branch: refs/heads/3.0.x-fixes
Commit: 7a812e99f5cac5e54d5a2ac208c95f0a173ebf13
Parents: fc92790
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Wed Sep 9 14:00:09 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Wed Sep 9 14:00:42 2015 +0200

----------------------------------------------------------------------
 .../apache/cxf/jaxrs/swagger/AbstractSwaggerFeature.java  | 10 +++++-----
 .../org/apache/cxf/jaxrs/swagger/Swagger2Feature.java     |  2 +-
 .../java/org/apache/cxf/jaxrs/swagger/SwaggerFeature.java |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/7a812e99/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/AbstractSwaggerFeature.java
----------------------------------------------------------------------
diff --git a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/AbstractSwaggerFeature.java
b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/AbstractSwaggerFeature.java
index a0aef8f..87dfdfe 100644
--- a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/AbstractSwaggerFeature.java
+++ b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/AbstractSwaggerFeature.java
@@ -36,7 +36,7 @@ public abstract class AbstractSwaggerFeature extends AbstractFeature {
     private String contact = "users@cxf.apache.org";
     private String license = "Apache 2.0 License";
     private String licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0.html";
-    private String termOfServiceUrl;
+    private String termsOfServiceUrl;
     private String filterClass;
     
     @Override
@@ -118,11 +118,11 @@ public abstract class AbstractSwaggerFeature extends AbstractFeature
{
     public void setLicenseUrl(String licenseUrl) {
         this.licenseUrl = licenseUrl;
     }
-    public String getTermOfServiceUrl() {
-        return termOfServiceUrl;
+    public String getTermsOfServiceUrl() {
+        return termsOfServiceUrl;
     }
-    public void setTermOfServiceUrl(String termOfServiceUrl) {
-        this.termOfServiceUrl = termOfServiceUrl;
+    public void setTermsOfServiceUrl(String termsOfServiceUrl) {
+        this.termsOfServiceUrl = termsOfServiceUrl;
     }
     public boolean isScan() {
         return scan;

http://git-wip-us.apache.org/repos/asf/cxf/blob/7a812e99/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
----------------------------------------------------------------------
diff --git a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
index 8955418..432b08f 100644
--- a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
+++ b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/Swagger2Feature.java
@@ -89,7 +89,7 @@ public class Swagger2Feature extends AbstractSwaggerFeature {
         beanConfig.setContact(getContact());
         beanConfig.setLicense(getLicense());
         beanConfig.setLicenseUrl(getLicenseUrl());
-        beanConfig.setTermsOfServiceUrl(getTermOfServiceUrl());
+        beanConfig.setTermsOfServiceUrl(getTermsOfServiceUrl());
         beanConfig.setScan(isScan());
         beanConfig.setPrettyPrint(isPrettyPrint());
         beanConfig.setFilterClass(getFilterClass());

http://git-wip-us.apache.org/repos/asf/cxf/blob/7a812e99/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerFeature.java
----------------------------------------------------------------------
diff --git a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerFeature.java
b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerFeature.java
index e0ed632..2f87179 100644
--- a/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerFeature.java
+++ b/rt/rs/description/src/main/java/org/apache/cxf/jaxrs/swagger/SwaggerFeature.java
@@ -70,7 +70,7 @@ public class SwaggerFeature extends AbstractSwaggerFeature {
         beanConfig.setContact(getContact());
         beanConfig.setLicense(getLicense());
         beanConfig.setLicenseUrl(getLicenseUrl());
-        beanConfig.setTermsOfServiceUrl(getTermOfServiceUrl());
+        beanConfig.setTermsOfServiceUrl(getTermsOfServiceUrl());
         beanConfig.setScan(isScan());
         beanConfig.setFilterClass(getFilterClass());
     }    


Mime
View raw message