mirror of
https://github.com/OtusTeam/Spring.git
synced 2026-05-30 10:50:42 +00:00
Fix encoding
This commit is contained in:
+5
-2
@@ -1,12 +1,15 @@
|
||||
package ru.otus.example.springbatch.service;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Slf4j
|
||||
@Service
|
||||
public class CleanUpService {
|
||||
|
||||
public void cleanUp() throws Exception {
|
||||
System.out.println("Выполняю завершающие мероприятия...");
|
||||
log.info("Выполняю завершающие мероприятия...");
|
||||
Thread.sleep(1000);
|
||||
System.out.println("Завершающие мероприятия закончены");
|
||||
log.info("Завершающие мероприятия закончены");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user