DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12916>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12916 [PATCH] Fix javadoc in RequestImpl.java Summary: [PATCH] Fix javadoc in RequestImpl.java Product: Commons Version: Nightly Builds Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Latka AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This patch fixes a wrong API comment, adds changed protocol as another reason for httpclient not following redirects, and fixes a typo. Index: RequestImpl.java =================================================================== RCS file: /home/cvspublic/jakarta-commons/latka/src/java/org/apache/commons/latka/http/RequestImpl.java,v retrieving revision 1.31 diff -u -r1.31 RequestImpl.java --- RequestImpl.java 18 Sep 2002 16:03:36 -0000 1.31 +++ RequestImpl.java 23 Sep 2002 10:45:36 -0000 @@ -181,9 +181,7 @@ } /** - * Returns a constant representing the http method - * (get, post, etc.) being used by this request. See - * the Request interface for available constants. + * Returns the object implementing the http method for this request. * * @return the underlying HttpMethod object representing the request/ * response pair. @@ -296,7 +294,7 @@ // is enabled, HTTPClient may return a path // that is different from the initial request. // HTTPClient will not follow redirects to another - // host or port; in that event, it will always + // host, port or protocol; in that event, it will always // return a 301 or 302. _session.setReferer(new URL(_targetURL.getProtocol(), _host, _port, _httpMethod.getPath())); @@ -492,7 +490,7 @@ return _method; } - /** Getter for property pproxy. + /** Getter for property proxy. * @return Value of property proxy. */ public Proxy getProxy() { -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>