Skip to content

Commit

Permalink
chore: Deprecated 에 추가정보 명시
Browse files Browse the repository at this point in the history
  • Loading branch information
zbqmgldjfh committed Aug 4, 2024
1 parent e26cc70 commit be45ada
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class StaffUpdater {
values에 StaffDeptInfo 전체 값이 아닌, 매개변수로 들어온 값을 전달한다.
*/
//@Scheduled(fixedRate = 30, timeUnit = TimeUnit.DAYS)
@Deprecated
@Deprecated(since = "2.7.3", forRemoval = true)
public void update() {
log.info("========== 교직원 업데이트 시작 ==========");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void questionCountReset() {
// 사용자 제거 로직에 일부 오류가 있는것 같다, 정상 사용자가 제거 되었다.
//@Transactional
//@Scheduled(fixedRate = 30, timeUnit = TimeUnit.DAYS)
@Deprecated
@Deprecated(since = "2.7.3", forRemoval = true)
public void update() {
log.info("========== 토큰 유효성 필터링 시작 ==========");

Expand All @@ -43,7 +43,7 @@ public void update() {
List<User> allInvalidUsers = new LinkedList<>();

int totalPage = calculateTotalPage(totalUserCount);
for(int page = 0; page < totalPage; page++) {
for (int page = 0; page < totalPage; page++) {
List<User> invalidUsers = checkValidUserByPage(page);
allInvalidUsers.addAll(invalidUsers);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.kustacks.kuring.alert.application.service;

import com.google.firebase.messaging.FirebaseMessagingException;
import com.kustacks.kuring.alert.adapter.out.persistence.AlertRepository;
import com.kustacks.kuring.alert.application.port.in.dto.AlertCreateCommand;
import com.kustacks.kuring.alert.domain.Alert;
Expand Down Expand Up @@ -31,7 +30,7 @@ class AlertServiceTest extends IntegrationTestSupport {

@DisplayName("알림을 성공적으로 등록한다")
@Test
void creat_alert() throws FirebaseMessagingException {
void creat_alert() {
// given
LocalDateTime expiredTime = LocalDateTime.now(clock).plus(1, ChronoUnit.SECONDS);
AlertCreateCommand alertCreateCommand = new AlertCreateCommand(
Expand All @@ -55,7 +54,7 @@ void creat_alert() throws FirebaseMessagingException {

@DisplayName("알림을 성공적으로 취소한다")
@Test
void cancel_alert() throws FirebaseMessagingException {
void cancel_alert() {
// given
LocalDateTime expiredTime = LocalDateTime.now(clock).plus(1, ChronoUnit.SECONDS);
AlertCreateCommand alertCreateCommand = new AlertCreateCommand(
Expand Down

0 comments on commit be45ada

Please sign in to comment.