Skip to content

Commit e9deb6e

Browse files
committed
fixing maven format in logaggregator
1 parent f0fe72f commit e9deb6e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

microservices-log-aggregation/src/main/java/com/iluwatar/logaggregation/LogAggregator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private void flushBuffer() {
191191
* Starts the periodic buffer flusher using ScheduledExecutorService.
192192
* This eliminates the busy-waiting loop with Thread.sleep().
193193
*/
194-
private void startPeriodicFlusher() {
194+
private void startPeriodicFlusher() {
195195
scheduledExecutor.scheduleAtFixedRate(
196196
() -> {
197197
if (running) {
@@ -209,7 +209,7 @@ private void startPeriodicFlusher() {
209209

210210
LOGGER.info("Periodic log flusher started with interval of {} seconds", FLUSH_INTERVAL_SECONDS);
211211
}
212-
/**
212+
/**
213213
* Gets the current number of buffered log entries.
214214
* Useful for monitoring and testing.
215215
*

microservices-log-aggregation/src/test/java/com/iluwatar/logaggregation/LogAggregatorTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@
3939
import org.mockito.Mock;
4040
import org.mockito.junit.jupiter.MockitoExtension;
4141

42-
/**
43-
* FIXED Championship Test Suite - LogAggregator.
44-
*
45-
* Fixed to work with the actual LogAggregator API and proper imports
46-
*/
42+
4743
@ExtendWith(MockitoExtension.class)
4844
class LogAggregatorTest {
4945

0 commit comments

Comments
 (0)