DefaultPropertyKey private member variable accessed outside scope
Motivation: DefaultPropertyKey.index is currently private and accessed outside the class's scope. Modifications: - Change access level to package private Result: No chance of synthetic method generation for accessing this field
This commit is contained in:
parent
0365927951
commit
50cc647804
@ -1153,7 +1153,7 @@ public class DefaultHttp2Connection implements Http2Connection {
|
|||||||
* Implementation of {@link PropertyKey} that specifies the index position of the property.
|
* Implementation of {@link PropertyKey} that specifies the index position of the property.
|
||||||
*/
|
*/
|
||||||
final class DefaultPropertyKey implements PropertyKey {
|
final class DefaultPropertyKey implements PropertyKey {
|
||||||
private final int index;
|
final int index;
|
||||||
|
|
||||||
DefaultPropertyKey(int index) {
|
DefaultPropertyKey(int index) {
|
||||||
this.index = index;
|
this.index = index;
|
||||||
|
Loading…
Reference in New Issue
Block a user