Permalink
Browse files

warning fixed

Signed-off-by: Rifat Nabi <to.rifat@gmail.com>
  • Loading branch information...
1 parent 150d628 commit 82fbb08e5da220c702570a5cf6af7407443f9da2 @torifat committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/deadbolt/Deadbolt.java
@@ -172,7 +172,7 @@ static void handleRestrictedResources(RoleHolder roleHolder) throws Throwable
if (restrictedResource.staticFallback())
{
Logger.info("Access for [%s] not defined for current user - processing further with other Deadbolt annotations",
- names);
+ (Object[])names);
handleStaticChecks(roleHolder);
}
else
@@ -182,7 +182,7 @@ static void handleRestrictedResources(RoleHolder roleHolder) throws Throwable
break;
default:
Logger.debug("RestrictedResource - access allowed for [%s]",
- names);
+ (Object[])names);
}
}
}

0 comments on commit 82fbb08

Please sign in to comment.