Remove unused ErrorUtils#unauthorized method

This commit is contained in:
Colin McDonald 2016-05-16 16:49:14 -04:00
parent 76e2b60250
commit 3bf8fde060

View File

@ -15,11 +15,7 @@ public class ErrorUtils {
public static Map<String, Object> notFound(String itemType, String id) {
return error("Not found: " + itemType + " with id " + id + " cannot be found.");
}
public static Map<String, Object> unauthorized(String permission) {
return error("Unauthorized access: Permission \"" + permission + "\" required.");
}
public static Map<String, Object> invalidInput(String message) {
return error("Invalid input: " + message);
}