Fix equals huge error, too much Javascript lately
This commit is contained in:
parent
f3fde4a8df
commit
5764ad84e9
2 changed files with 60 additions and 60 deletions
0
integration/tomcat7/adapter/src/main/java/org/keycloak/adapters/tomcat7/AuthenticatedActionsValve.java
Executable file → Normal file
0
integration/tomcat7/adapter/src/main/java/org/keycloak/adapters/tomcat7/AuthenticatedActionsValve.java
Executable file → Normal 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
|
||||
|
|
Loading…
Reference in a new issue