Skip to content

Commit

Permalink
Add deprecation annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThaminduR committed Jul 2, 2024
1 parent 40a6e5f commit 7b12864
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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<String> dirsMade)
throws IOException {
Expand Down

0 comments on commit 7b12864

Please sign in to comment.