Fix Http2Headers.method(...) javadocs (#9718)

Motivation:

The javadocs of Http2Headers.method(...) are incorrect, we should fix these.

Modifications:

Correct javadocs

Result:

Fixes https://github.com/netty/netty/issues/8068.
This commit is contained in:
Norman Maurer 2019-10-29 19:51:28 +01:00 committed by GitHub
parent a6681e74fb
commit 4f6c21fa97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ public interface Http2Headers extends Headers<CharSequence, CharSequence, Http2H
Iterator<CharSequence> valueIterator(CharSequence name); Iterator<CharSequence> valueIterator(CharSequence name);
/** /**
* Sets the {@link PseudoHeaderName#METHOD} header or {@code null} if there is no such header * Sets the {@link PseudoHeaderName#METHOD} header
*/ */
Http2Headers method(CharSequence value); Http2Headers method(CharSequence value);