Modify NoArgsConstructor access level to private
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package com.mangkyu.employment.interview.app.answer.constants;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@NoArgsConstructor
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public final class AnswerConstants {
|
||||
|
||||
public static final int MAX_ANSWER_SIZE = 5000;
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package com.mangkyu.employment.interview.app.file.constants;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@NoArgsConstructor
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public final class FileConstants {
|
||||
|
||||
public static final String FILE_API_PREFIX = "/file";
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package com.mangkyu.employment.interview.app.quiz.constants;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@NoArgsConstructor
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public final class QuizConstants {
|
||||
|
||||
public static final int DEFAULT_QUIZ_SIZE = 3;
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.mangkyu.employment.interview.app.quiz.dto.GetQuizResponse;
|
||||
import com.mangkyu.employment.interview.app.quiz.entity.Quiz;
|
||||
import com.mangkyu.employment.interview.enums.common.EnumMapperValue;
|
||||
import com.mangkyu.employment.interview.enums.value.QuizLevel;
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
@@ -14,7 +15,7 @@ import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@NoArgsConstructor
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public final class QuizDtoConverter {
|
||||
|
||||
public static GetAnswerResponse convert(final Answer answer) {
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
package com.mangkyu.employment.interview.utils;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
|
||||
@NoArgsConstructor
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public final class DateUtils {
|
||||
|
||||
public static String getCurrentDate() {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.mangkyu.employment.interview.utils;
|
||||
|
||||
import lombok.AccessLevel;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.util.FileCopyUtils;
|
||||
import org.springframework.util.ResourceUtils;
|
||||
@@ -10,7 +11,7 @@ import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
@NoArgsConstructor
|
||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public final class FileUtils {
|
||||
|
||||
public static String readFileText(final String filePath) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user