Skip to content

Commit

Permalink
chore: Public 접근 제어자 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
zbqmgldjfh committed Jul 20, 2024
1 parent 828fd4e commit 63d68b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ public void embedding(List<PageTextDto> extractTextResults, CategoryName categor
private Document createDocument(HashMap<String, Object> metadata) {
return new Document(
"a5a7414f-f676-409b-9f2e-1042f9846c97",
"● 등록금 전액 완납 또는 분할납부 1차분을 정해진 기간에 미납할 경우 분할납부 신청은 자동 취소되며, 미납 등록금은 이후\n" +
"추가 등록기간에 전액 납부해야 함.\n",
"""
● 등록금 전액 완납 또는 분할납부 1차분을 정해진 기간에 미납할 경우 분할납부 신청은 자동 취소되며,
미납 등록금은 이후 추가 등록기간에 전액 납부해야 함.\n
""",
metadata);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class KuisHomepageNoticeTextParser extends NoticeTextParserTemplate {

@Override
protected boolean support(CategoryName categoryName) {
return !(categoryName == CategoryName.LIBRARY);
return categoryName != CategoryName.LIBRARY;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class NoticeRepositoryTest extends IntegrationTestSupport {

@DisplayName("jdbc를 사용한 bulk insert 테스트")
@Test
public void jdbcBulkInsert() {
void jdbcBulkInsert() {
// given
noticeRepository.deleteAll();
List<Notice> notices = creatNotices(70);
Expand Down Expand Up @@ -176,7 +176,7 @@ void findNotYetEmbeddingNotice() {

@DisplayName("Embedding 된 공지의 상태를 변경할 수 있다")
@Test
public void updateNoticeEmbeddingStatus() {
void updateNoticeEmbeddingStatus() {
// given
Notice notice1 = new Notice("1", "2024-03-19 17:27:07", "2023-04-03 17:27:05",
"notice1", CategoryName.BACHELOR, false, "https://www.example.com");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void member_invalid_email_id(String url) {

@DisplayName("공지 임베딩 여부 확인 테스트")
@Test
public void notice_embedded() {
void notice_embedded() {
// given
Notice notice = new Notice("artice_id", "2024-01-19 17:27:05",
"2024-01-19 17:27:05", "subject", CategoryName.BACHELOR,
Expand Down

0 comments on commit 63d68b3

Please sign in to comment.