From 7b12864ea206aaca8b7bb7f2f3a0ba2211a43ebf Mon Sep 17 00:00:00 2001 From: Thamindu Aluthwala Date: Tue, 2 Jul 2024 15:08:43 +0530 Subject: [PATCH] Add deprecation annotation --- .../src/main/java/org/wso2/carbon/ui/Utils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/Utils.java b/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/Utils.java index a4c8e4eaabf..46a02e480c7 100644 --- a/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/Utils.java +++ b/core/org.wso2.carbon.ui/src/main/java/org/wso2/carbon/ui/Utils.java @@ -94,6 +94,7 @@ public static void copyDirectory(File sourceLocation, File targetLocation) throw * @throws org.wso2.carbon.core.CarbonException * CarbonException */ + @Deprecated public static void deployZipFile(File zipFileLocation, File targetLocation) throws CarbonException { try (JarFile jarFile = new JarFile(zipFileLocation)) { @@ -118,6 +119,7 @@ public static void deployZipFile(File zipFileLocation, File targetLocation) * @param dirsMade dir * @throws java.io.IOException will be thrown */ + @Deprecated private static void getFile(ZipEntry e, JarFile zippy, File targetLocation, SortedSet dirsMade) throws IOException {