From a5103bad85248482363902217115da4d76608528 Mon Sep 17 00:00:00 2001 From: zhangliang Date: Sat, 25 Nov 2023 19:21:59 +0800 Subject: [PATCH] Fix sonar issue --- .../infra/util/datetime/StandardDateTimeFormatter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/datetime/StandardDateTimeFormatter.java b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/datetime/StandardDateTimeFormatter.java index 96e1a5d7121aa..a1119fca67831 100644 --- a/infra/util/src/main/java/org/apache/shardingsphere/infra/util/datetime/StandardDateTimeFormatter.java +++ b/infra/util/src/main/java/org/apache/shardingsphere/infra/util/datetime/StandardDateTimeFormatter.java @@ -17,11 +17,15 @@ package org.apache.shardingsphere.infra.util.datetime; +import lombok.AccessLevel; +import lombok.NoArgsConstructor; + import java.time.format.DateTimeFormatter; /** * Standard date time formatter. */ +@NoArgsConstructor(access = AccessLevel.PRIVATE) public final class StandardDateTimeFormatter { private static final DateTimeFormatter DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");