Repository: cxf Updated Branches: refs/heads/master e695fde31 -> 8accdcea3
[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/8accdcea Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/8accdcea Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/8accdcea Branch: refs/heads/master Commit: 8accdcea3145f628b7d56f45e6b0ceccbaa14c6f Parents: e695fde Author: Akitoshi Yoshida <[email protected]> Authored: Wed Sep 9 14:00:09 2015 +0200 Committer: Akitoshi Yoshida <[email protected]> Committed: Wed Sep 9 14:00:09 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/8accdcea/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 = "[email protected]"; 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/8accdcea/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/8accdcea/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()); }
