Skip to content

Commit

Permalink
DefaultPropertyKey private member variable accessed outside scope
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Scottmitch committed Aug 28, 2015
1 parent 62d0f79 commit 07d0eb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ private boolean allowModifications() {
* 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;
Expand Down

0 comments on commit 07d0eb2

Please sign in to comment.