diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java index 1d74618ec7f..9dc16b37f25 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpParser.java @@ -1493,7 +1493,6 @@ public class HttpParser /* ------------------------------------------------------------ */ /** Called to signal that an EOF was received unexpectedly * during the parsing of a HTTP message - * @return True if the parser should return to its caller */ public void earlyEOF(); @@ -1524,7 +1523,7 @@ public class HttpParser /** * This is the method called by the parser after it has parsed the host header (and checked it's format). This is - * called after the {@link HttpHandler#parsedHeader(HttpField) methods and before + * called after the {@link HttpHandler#parsedHeader(HttpField)} methods and before * HttpHandler#headerComplete(); */ public abstract boolean parsedHostHeader(String host,int port); diff --git a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java index 0d0ab37a4bf..f59f75182c7 100644 --- a/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java +++ b/jetty-http/src/test/java/org/eclipse/jetty/http/HttpParserTest.java @@ -41,8 +41,8 @@ public class HttpParserTest { /* ------------------------------------------------------------------------------- */ /** - * Parse until {@link #END END} state. - * If the parser is already in the END state, then it is {@link #reset reset} and re-parsed. + * Parse until {@link State#END} state. + * If the parser is already in the END state, then it is {@link HttpParser#reset()} and re-parsed. * @param parser The parser to test * @throws IllegalStateException If the buffers have already been partially parsed. */