KEYCLOAK-3412 - Remove erroneous AdminEventBuilder.error method
Wasn't used within the Keycloak codebase and wouldn't have worked either since the OperationType lookup would always fail since there are no "_ERROR" operation types. Signed-off-by: Thomas Darimont <thomas.darimont@gmail.com>
This commit is contained in:
parent
c34d175572
commit
e0d70a35d6
1 changed files with 0 additions and 6 deletions
|
@ -184,12 +184,6 @@ public class AdminEventBuilder {
|
|||
return path.substring(path.indexOf(realmRelative) + realmRelative.length());
|
||||
}
|
||||
|
||||
public void error(String error) {
|
||||
adminEvent.setOperationType(OperationType.valueOf(adminEvent.getOperationType().name() + "_ERROR"));
|
||||
adminEvent.setError(error);
|
||||
send();
|
||||
}
|
||||
|
||||
public AdminEventBuilder representation(Object value) {
|
||||
if (value == null || value.equals("")) {
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue