From c635d78b479510ebe2556a420948effcd30a0731 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期六, 21 十二月 2024 18:40:43 +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