Skip to content

Commit

Permalink
Merge pull request #15 from nfl/BACKEND-2445_exposed_permission_counter
Browse files Browse the repository at this point in the history
Increased visibility of the permission counter in SchemaWriteAccess.
  • Loading branch information
sdemchenko authored Jan 10, 2018
2 parents fb57cec + 40ae1c4 commit ee53355
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ maven.central.sync=false
sonatype.username=DUMMY_SONATYPE_USER
sonatype.password=DUMMY_SONATYPE_PASSWORD

PROJECT_VERSION=1.0.7
PROJECT_VERSION=1.0.8
PROJECT_GITHUB_REPO_URL=https://github.com/nfl/gold
PROJECT_LICENSE_URL=https://github.com/nfl/gold/blob/master/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public boolean hasMutationWriteAccess(String namespace, String permissionName) {
return permissions.containsKey(namespace) && permissions.get(namespace).contains(permissionName);
}

int countPerms() {
@SuppressWarnings("unused")
public int countPermissions() {
return permissions.size();
}

Expand Down

0 comments on commit ee53355

Please sign in to comment.