Skip to content

Commit

Permalink
Reorder methods in HivePrivilegeInfo
Browse files Browse the repository at this point in the history
Extracted-From: prestodb/presto#10904
  • Loading branch information
Andrii Rosa authored and sopel39 committed Jan 29, 2019
1 parent de9890c commit 18603de
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ public boolean isGrantOption()
return grantOption;
}

@JsonProperty
public PrestoPrincipal getGrantee()
{
return grantee;
}


public static Set<HivePrivilegeInfo> parsePrivilege(PrivilegeGrantInfo userGrant)
{
boolean withGrantOption = userGrant.isGrantOption();
Expand Down

0 comments on commit 18603de

Please sign in to comment.