cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [2/4] cxf git commit: fixed Javadoc errors This closes #269
Date Wed, 03 May 2017 20:30:25 GMT
fixed Javadoc errors
This closes #269


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

Branch: refs/heads/3.1.x-fixes
Commit: 2b16a75d07fe32bf9604186b873e729cd6992fe9
Parents: 8f07cf1
Author: Dennis Kieselhorst <deki@apache.org>
Authored: Mon Apr 24 12:47:03 2017 +0200
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Wed May 3 15:41:06 2017 -0400

----------------------------------------------------------------------
 .../apache/cxf/jaxrs/JAXRSServerFactoryBean.java |  6 +++---
 .../cxf/jaxrs/client/JAXRSClientFactoryBean.java |  9 ++++-----
 .../org/apache/cxf/jaxrs/client/WebClient.java   | 19 +++++++++----------
 3 files changed, 16 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/2b16a75d/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
index d4e53ac..f689e1b 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/JAXRSServerFactoryBean.java
@@ -271,8 +271,8 @@ public class JAXRSServerFactoryBean extends AbstractJAXRSFactoryBean {
     /**
      * Sets the extension mappings, 
      * example, 'xml' is the key and 'text/xml' is the value.
-     * 
-     * @param lMaps the extension mappings
+     *
+     * @param extMaps the extension mappings
      */
     public void setExtensionMappings(Map<Object, Object> extMaps) {
         extensionMappings = extMaps;
@@ -435,7 +435,7 @@ public class JAXRSServerFactoryBean extends AbstractJAXRSFactoryBean {
     
     /**
      * Set the reference to the document (WADL, etc) describing the endpoint
-     * @param documentLocation document location
+     * @param docLocation document location
      */
     public void setDocLocation(String docLocation) {
         this.documentLocation = docLocation;

http://git-wip-us.apache.org/repos/asf/cxf/blob/2b16a75d/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
index 79d8b04..ce813b5 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/JAXRSClientFactoryBean.java
@@ -97,7 +97,7 @@ public class JAXRSClientFactoryBean extends AbstractJAXRSFactoryBean {
     /**
      * Sets the time a thread-local client state will be kept.
      * This property is ignored for thread-unsafe clients
-     * @param secondsToKeepState
+     * @param time secondsToKeepState
      */
     public void setSecondsToKeepState(long time) {
         this.timeToKeepState = time;
@@ -161,8 +161,8 @@ public class JAXRSClientFactoryBean extends AbstractJAXRSFactoryBean {
     }
     
     /**
-     * Sets the resource class, may be called from a Spring handler 
-     * @param cls the resource class
+     * Sets the service class, may be called from a Spring handler
+     * @param cls the service class
      */
     public void setServiceClass(Class<?> cls) {
         this.serviceClass = cls;
@@ -170,8 +170,7 @@ public class JAXRSClientFactoryBean extends AbstractJAXRSFactoryBean {
     }
     
     /**
-     * Returns the service class 
-     * @param cls the service class
+     * Returns the service class
      */
     public Class<?> getServiceClass() {
         return serviceClass;

http://git-wip-us.apache.org/repos/asf/cxf/blob/2b16a75d/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
----------------------------------------------------------------------
diff --git a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
index 16d6b2d..8f49f0d 100644
--- a/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
+++ b/rt/rs/client/src/main/java/org/apache/cxf/jaxrs/client/WebClient.java
@@ -129,7 +129,7 @@ public class WebClient extends AbstractClient {
     
     /**
      * Creates WebClient
-     * @param baseURI baseURI
+     * @param baseAddress baseURI
      * @param providers list of providers
      */
     public static WebClient create(String baseAddress, List<?> providers) {
@@ -138,8 +138,9 @@ public class WebClient extends AbstractClient {
     
     /**
      * Creates WebClient
-     * @param baseURI baseURI
+     * @param baseAddress baseURI
      * @param providers list of providers
+     * @param threadSafe if true ThreadLocalClientState is used
      */
     public static WebClient create(String baseAddress, List<?> providers, boolean threadSafe)
{
         JAXRSClientFactoryBean bean = getBean(baseAddress, null);
@@ -152,7 +153,7 @@ public class WebClient extends AbstractClient {
     
     /**
      * Creates a thread safe WebClient
-     * @param baseURI baseURI
+     * @param baseAddress baseURI
      * @param providers list of providers
      * @param timeToKeepState time to keep this thread safe state.
      */
@@ -245,7 +246,7 @@ public class WebClient extends AbstractClient {
     
     /**
      * Creates WebClient, baseURI will be set to Client currentURI
-     * @param client existing client
+     * @param object existing client object
      */
     public static WebClient fromClientObject(Object object) {
         Client client = client(object);
@@ -567,7 +568,6 @@ public class WebClient extends AbstractClient {
     /**
      * Posts the object and returns a collection of typed objects
      * @param body request body
-     * @param memberClass type of collection member class
      * @param responseClass expected type of response object
      * @return JAX-RS Response
      */
@@ -589,8 +589,7 @@ public class WebClient extends AbstractClient {
     }
     
     /**
-     * Does HTTP GET invocation and returns a collection of typed objects 
-     * @param body request body, can be null
+     * Does HTTP GET invocation and returns a collection of typed objects
      * @param memberClass expected type of collection member class
      * @return typed collection
      */
@@ -600,7 +599,6 @@ public class WebClient extends AbstractClient {
     
     /**
      * Does HTTP GET invocation and returns typed response object
-     * @param body request body, can be null
      * @param responseClass expected type of response object
      * @return typed object, can be null. Response status code and headers 
      *         can be obtained too, see Client.getResponse()
@@ -775,8 +773,9 @@ public class WebClient extends AbstractClient {
     
     /**
      * Replaces the current query with the new value.
-     * @param queryString the new value, providing a null is
-     *        equivalent to calling resetQuery().  
+     * @param queryParam query param name
+     * @param value the new value, providing a null is
+     *        equivalent to calling resetQuery().
      * @return updated WebClient
      */
     public WebClient replaceQueryParam(String queryParam, Object... value) {


Mime
View raw message