From 5a972c19b6f166aa7e64705258c85eb8413411f4 Mon Sep 17 00:00:00 2001 From: DESKTOP-LMJ82IJ\Eno <creaycat@gmail.com> Date: 星期日, 22 十二月 2024 21:11:51 +0800 Subject: [PATCH] 状态上传判断问题修复 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/license/entity/license/LicenseManagerHolder.java | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/license/entity/license/LicenseManagerHolder.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/license/entity/license/LicenseManagerHolder.java index e98cb10..67d8c01 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/license/entity/license/LicenseManagerHolder.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/system/license/entity/license/LicenseManagerHolder.java @@ -1,22 +1,22 @@ -package com.zy.asrs.wms.system.license.entity.license; - -import de.schlichtherle.license.LicenseManager; -import de.schlichtherle.license.LicenseParam; - -public class LicenseManagerHolder { - - private static volatile LicenseManager LICENSE_MANAGER; - - public static LicenseManager getInstance(LicenseParam param) { - if (LICENSE_MANAGER == null) { - synchronized (LicenseManagerHolder.class) { - if (LICENSE_MANAGER == null) { - LICENSE_MANAGER = new CustomLicenseManager(param); - } - } - } - - return LICENSE_MANAGER; - } - +package com.zy.asrs.wms.system.license.entity.license; + +import de.schlichtherle.license.LicenseManager; +import de.schlichtherle.license.LicenseParam; + +public class LicenseManagerHolder { + + private static volatile LicenseManager LICENSE_MANAGER; + + public static LicenseManager getInstance(LicenseParam param) { + if (LICENSE_MANAGER == null) { + synchronized (LicenseManagerHolder.class) { + if (LICENSE_MANAGER == null) { + LICENSE_MANAGER = new CustomLicenseManager(param); + } + } + } + + return LICENSE_MANAGER; + } + } \ No newline at end of file -- Gitblit v1.9.1