Fix equals huge error, too much Javascript lately

This commit is contained in:
Davide Ungari 2014-07-27 10:02:22 +02:00
parent f3fde4a8df
commit 5764ad84e9
2 changed files with 60 additions and 60 deletions

View file

@ -50,15 +50,15 @@ public class KeycloakAuthenticatorValve extends FormAuthenticator implements Lif
@Override
public void lifecycleEvent(LifecycleEvent event) {
if (event.getType() == Lifecycle.START_EVENT) {
if (Lifecycle.START_EVENT.equals(event.getType())) {
try {
startDeployment();
} catch (LifecycleException e) {
log.severe("Error starting deployment. " + e.getMessage());
}
} else if (Lifecycle.AFTER_START_EVENT.equals(event.getType())) {
initInternal();
}
if (event.getType() == Lifecycle.AFTER_START_EVENT) initInternal();
}
@Override