From cdb0ae4c3122345abb0384b0836e54c3cb23b3d4 Mon Sep 17 00:00:00 2001 From: maheshshelke Date: Fri, 21 Jun 2024 01:28:19 +0530 Subject: [PATCH] Issue #9: Fixed formatting in Application.java - Indentation were not current in java file --- .../java/io/github/robwin/Application.java | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/main/java/io/github/robwin/Application.java b/src/main/java/io/github/robwin/Application.java index 1c4b198..a40a158 100644 --- a/src/main/java/io/github/robwin/Application.java +++ b/src/main/java/io/github/robwin/Application.java @@ -64,25 +64,24 @@ public void onEntryReplacedEvent(EntryReplacedEvent entryReplace }; } -@Bean -public RegistryEventConsumer myRetryRegistryEventConsumer() { - - return new RegistryEventConsumer() { - @Override - public void onEntryAddedEvent(EntryAddedEvent entryAddedEvent) { - entryAddedEvent.getAddedEntry().getEventPublisher().onEvent(event -> LOG.info(event.toString())); - } + @Bean + public RegistryEventConsumer myRetryRegistryEventConsumer() { - @Override - public void onEntryRemovedEvent(EntryRemovedEvent entryRemoveEvent) { + return new RegistryEventConsumer() { + @Override + public void onEntryAddedEvent(EntryAddedEvent entryAddedEvent) { + entryAddedEvent.getAddedEntry().getEventPublisher().onEvent(event -> LOG.info(event.toString())); + } - } + @Override + public void onEntryRemovedEvent(EntryRemovedEvent entryRemoveEvent) { - @Override - public void onEntryReplacedEvent(EntryReplacedEvent entryReplacedEvent) { + } - } - }; -} + @Override + public void onEntryReplacedEvent(EntryReplacedEvent entryReplacedEvent) { + } + }; + } }