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:
Scott Mitchell 2015-08-27 16:01:28 -07:00
parent 0365927951
commit 50cc647804

View File

@ -1153,7 +1153,7 @@ public class DefaultHttp2Connection implements Http2Connection {
* Implementation of {@link PropertyKey} that specifies the index position of the property.
*/
final class DefaultPropertyKey implements PropertyKey {
private final int index;
final int index;
DefaultPropertyKey(int index) {
this.index = index;