[PMD] ClassWithOnlyPrivateConstructorsShouldBeFinal
This commit is contained in:
@@ -2,7 +2,7 @@ package app.module.core.config.application.util;
|
||||
|
||||
import app.module.core.config.adapters.persistence.component.AuditCommand;
|
||||
|
||||
public class AuditUtil {
|
||||
public final class AuditUtil {
|
||||
private AuditUtil() {}
|
||||
|
||||
public static <T extends AuditCommand> T create(T cmd) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package app.module.core.config.constants;
|
||||
|
||||
public class CommonConstants {
|
||||
public final class CommonConstants {
|
||||
private CommonConstants() {
|
||||
throw new IllegalAccessError("어플리케이션에서 공통으로 사용되는 상수 클래스로 생성자를 사용할 수 없습니다.");
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package app.module.core.config.constants;
|
||||
|
||||
public class DailyRecordConstants {
|
||||
public final class DailyRecordConstants {
|
||||
private DailyRecordConstants() {
|
||||
throw new IllegalAccessError("어플리케이션에서 일계부에서 사용되는 상수 클래스로 생성자를 사용할 수 없습니다.");
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package app.module.front.config.application.security;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class FrontPublicAccess {
|
||||
public final class FrontPublicAccess {
|
||||
|
||||
private static final FrontPublicAccess INSTANCE = new FrontPublicAccess();
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ package app.module.front.config.application.util;
|
||||
|
||||
import app.module.front.config.adapters.persistence.component.FrontAuditCommand;
|
||||
|
||||
public class AuditUtil {
|
||||
public final class AuditUtil {
|
||||
private AuditUtil() {}
|
||||
|
||||
public static <T extends FrontAuditCommand> T create(T cmd) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package app.module.front.config.constants;
|
||||
|
||||
public class CommonConstants {
|
||||
public final class CommonConstants {
|
||||
private CommonConstants() {
|
||||
throw new IllegalAccessError("어플리케이션에서 공통으로 사용되는 상수 클래스로 생성자를 사용할 수 없습니다.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user