Fix typos in javadocs (#9900)

Motivation:

Javadocs should have no typos.

Modifications:

Fix two typos

Result:

Less typos.
This commit is contained in:
Ikhun Um 2019-12-23 16:34:16 +09:00 committed by Norman Maurer
parent ee206b6ba8
commit f60c13a57f
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ public class Http2ConnectionHandler extends ByteToMessageDecoder implements Http
* Peeks at that the next frame in the buffer and verifies that it is a non-ack {@code SETTINGS} frame.
*
* @param in the inbound buffer.
* @return {@code} true if the next frame is a non-ack {@code SETTINGS} frame, {@code false} if more
* @return {@code true} if the next frame is a non-ack {@code SETTINGS} frame, {@code false} if more
* data is required before we can determine the next frame type.
* @throws Http2Exception thrown if the next frame is NOT a non-ack {@code SETTINGS} frame.
*/

View File

@ -28,7 +28,7 @@ public interface AttributeMap {
<T> Attribute<T> attr(AttributeKey<T> key);
/**
* Returns {@code} true if and only if the given {@link Attribute} exists in this {@link AttributeMap}.
* Returns {@code true} if and only if the given {@link Attribute} exists in this {@link AttributeMap}.
*/
<T> boolean hasAttr(AttributeKey<T> key);
}