HBASE-15627 Miss space and closing quote in AccessController#checkSystemOrSuperUser (Huaxiang Sun)

This commit is contained in:
Matteo Bertozzi 2016-04-11 08:08:35 -07:00
parent b7502feff3
commit 2dbbe8960a
1 changed files with 1 additions and 1 deletions

View File

@ -2490,7 +2490,7 @@ public class AccessController extends BaseMasterAndRegionObserver
User activeUser = getActiveUser(); User activeUser = getActiveUser();
if (!Superusers.isSuperUser(activeUser)) { if (!Superusers.isSuperUser(activeUser)) {
throw new AccessDeniedException("User '" + (activeUser != null ? throw new AccessDeniedException("User '" + (activeUser != null ?
activeUser.getShortName() : "null") + "is not system or super user."); activeUser.getShortName() : "null") + "' is not system or super user.");
} }
} }