From 3278b43b36cd622858ee06664465b5bd9ec84469 Mon Sep 17 00:00:00 2001 From: Zzm0809 Date: Mon, 9 Dec 2024 09:07:20 +0000 Subject: [PATCH] Spotless Apply --- dinky-admin/src/main/java/org/dinky/utils/SqliteUtil.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dinky-admin/src/main/java/org/dinky/utils/SqliteUtil.java b/dinky-admin/src/main/java/org/dinky/utils/SqliteUtil.java index 07cce23f93..4dfc221efb 100644 --- a/dinky-admin/src/main/java/org/dinky/utils/SqliteUtil.java +++ b/dinky-admin/src/main/java/org/dinky/utils/SqliteUtil.java @@ -19,6 +19,9 @@ package org.dinky.utils; +import org.dinky.data.constant.DirConstant; +import org.dinky.data.constant.MonitorTableConstant; + import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; @@ -29,8 +32,6 @@ import java.util.concurrent.atomic.AtomicLong; import lombok.extern.slf4j.Slf4j; -import org.dinky.data.constant.DirConstant; -import org.dinky.data.constant.MonitorTableConstant; @Slf4j public enum SqliteUtil { @@ -41,7 +42,8 @@ public enum SqliteUtil { static { try { - SqliteUtil.INSTANCE.connect(DirConstant.getTempRootDir() + DirConstant.FILE_SEPARATOR + MonitorTableConstant.DINKY_DB); + SqliteUtil.INSTANCE.connect( + DirConstant.getTempRootDir() + DirConstant.FILE_SEPARATOR + MonitorTableConstant.DINKY_DB); SqliteUtil.INSTANCE.recyleData(); } catch (SQLException e) { throw new RuntimeException(e);