Make Http2ToHttpHeaderTranslator method package-private. (#10736)
Motivation: Http2ToHttpHeaderTranslator is a private class but translateHeaders(Iterable<Entry<CharSequence, CharSequence>>) is public but it should be package-private. Modification: Removed public. Result: Correct access modifer.
This commit is contained in:
parent
96da45de2d
commit
8a10adaa55
@ -619,7 +619,7 @@ public final class HttpConversionUtil {
|
|||||||
translations = request ? REQUEST_HEADER_TRANSLATIONS : RESPONSE_HEADER_TRANSLATIONS;
|
translations = request ? REQUEST_HEADER_TRANSLATIONS : RESPONSE_HEADER_TRANSLATIONS;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void translateHeaders(Iterable<Entry<CharSequence, CharSequence>> inputHeaders) throws Http2Exception {
|
void translateHeaders(Iterable<Entry<CharSequence, CharSequence>> inputHeaders) throws Http2Exception {
|
||||||
// lazily created as needed
|
// lazily created as needed
|
||||||
StringBuilder cookies = null;
|
StringBuilder cookies = null;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user