Skip to content

Commit 2380efa

Browse files
committed
fix javadoc errors
1 parent 5141bd9 commit 2380efa

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

HttpRequest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public class HttpRequest {
3131
* If there is a error in parsing the client will receive a
3232
* 400 (Bad request) error indicating that the request was malformed.
3333
* @param from The content stream from a socket connection.
34-
* @return A new HttpRequest.
3534
*/
3635
public HttpRequest(BufferedReader from) {
3736
error = 0;
@@ -88,7 +87,6 @@ public HttpRequest(BufferedReader from) {
8887
* @param headers Any optional http headers. If you don't want to add any use an empty string ("").
8988
* @param host The hostname of the server where the request is send to E.g. example.com
9089
* @param port The port number used for the webs server E.g. 80
91-
* @return A HttpRequet object
9290
*/
9391
public HttpRequest(String method, String url, String version, String headers, String host, int port) {
9492
this.method = method;
@@ -102,8 +100,9 @@ public HttpRequest(String method, String url, String version, String headers, St
102100

103101
/**
104102
* Copy constructor
105-
* @param other An existing HttpRequest to create the copy from
106-
* @return A deep copy of the 'other' HttpRequest
103+
* <p>
104+
* Returns a deep copy of the 'other' HttpRequest.
105+
* @param other An existing HttpRequest to create the copy from.
107106
*/
108107
public HttpRequest(HttpRequest other) {
109108
this.method = other.method;

0 commit comments

Comments
 (0)