Merge pull request #3137 from thomasdarimont/issue/KEYCLOAK-3412-remove-unused-adminEventBuilder-error-method

KEYCLOAK-3412 - Remove erroneous AdminEventBuilder.error method
This commit is contained in:
Marek Posolda 2016-08-11 17:41:04 +02:00 committed by GitHub
commit f6f587e472

View file

@ -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;