Skip to content

Commit

Permalink
Spotless Apply
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzm0809 authored and github-actions[bot] committed Dec 9, 2024
1 parent de1a8a7 commit 3278b43
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dinky-admin/src/main/java/org/dinky/utils/SqliteUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 {
Expand All @@ -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);
Expand Down

0 comments on commit 3278b43

Please sign in to comment.