fix: handle awaitTermination result and ensure proper ExecutorService shutdown (#3244)
* fix: handle awaitTermination result and ensure proper ExecutorService shutdown - Added handling for the result of awaitTermination to avoid Sonar warning - Wrapped ExecutorService with try-finally for proper shutdown (java:S2095) - Prevents potential resource leak and aligns with best practices Fixes: #2865 Note: ExecutorService is not AutoCloseable, so try-with-resources is not applicable. Used try-finally instead. * fix: add missing logger definition for SLF4J - Defined logger explicitly with LoggerFactory.getLogger(...) - Ensured compatibility with Lombok's @Slf4j annotation - Fixed compilation error caused by missing 'log' variable * fix: add missing logger definition for SLF4J
K
Kim Gi Uk committed
6cadf253badcbff24678eca581fc361e2fe59ef2
Parent: 44f6ab3
Committed by GitHub <noreply@github.com>
on 4/10/2025, 4:33:40 PM