Skip to content

Commit

Permalink
[KEYCLOAK-11679] - Avoid reflection when handlign startup event
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroigor authored and stianst committed May 27, 2020
1 parent e825ec2 commit b6060c5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class QuarkusLifecycleObserver {
@Inject
KeycloakApplication application;

private void onStartupEvent(@Observes StartupEvent event) {
void onStartupEvent(@Observes StartupEvent event) {

Runnable startupHook = ((QuarkusPlatform) Platform.getPlatform()).startupHook;

Expand All @@ -52,7 +52,7 @@ private void onStartupEvent(@Observes StartupEvent event) {

}

private void onShutdownEvent(@Observes ShutdownEvent event) {
void onShutdownEvent(@Observes ShutdownEvent event) {

Runnable shutdownHook = ((QuarkusPlatform) Platform.getPlatform()).shutdownHook;

Expand Down

0 comments on commit b6060c5

Please sign in to comment.