From 0aa1c8c56e3fc177589dfdec507aa56faaf76eca Mon Sep 17 00:00:00 2001 From: Siddharth Vaish Date: Fri, 17 May 2024 17:23:42 +0530 Subject: [PATCH] Refactored code from eip-client to eip-commons --- .../java/com/ozonehis/eip/utils}/ShutdownHandler.java | 9 ++++++++- .../src/main/java/com/ozonehis/eip/utils}/Utils.java | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) rename {app/src/main/java/com/ozonehis/eip => commons/src/main/java/com/ozonehis/eip/utils}/ShutdownHandler.java (73%) rename {app/src/main/java/com/ozonehis/eip => commons/src/main/java/com/ozonehis/eip/utils}/Utils.java (74%) diff --git a/app/src/main/java/com/ozonehis/eip/ShutdownHandler.java b/commons/src/main/java/com/ozonehis/eip/utils/ShutdownHandler.java similarity index 73% rename from app/src/main/java/com/ozonehis/eip/ShutdownHandler.java rename to commons/src/main/java/com/ozonehis/eip/utils/ShutdownHandler.java index 9ca27ed..5d96237 100644 --- a/app/src/main/java/com/ozonehis/eip/ShutdownHandler.java +++ b/commons/src/main/java/com/ozonehis/eip/utils/ShutdownHandler.java @@ -1,4 +1,11 @@ -package com.ozonehis.eip; +/* + * Copyright © 2021, Ozone HIS + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package com.ozonehis.eip.utils; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; diff --git a/app/src/main/java/com/ozonehis/eip/Utils.java b/commons/src/main/java/com/ozonehis/eip/utils/Utils.java similarity index 74% rename from app/src/main/java/com/ozonehis/eip/Utils.java rename to commons/src/main/java/com/ozonehis/eip/utils/Utils.java index cf32bee..e6a9f86 100644 --- a/app/src/main/java/com/ozonehis/eip/Utils.java +++ b/commons/src/main/java/com/ozonehis/eip/utils/Utils.java @@ -1,4 +1,11 @@ -package com.ozonehis.eip; +/* + * Copyright © 2021, Ozone HIS + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ +package com.ozonehis.eip.utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory;