Skip to content

Commit

Permalink
Merge pull request #4021 from ThaminduR/master-sec-3473
Browse files Browse the repository at this point in the history
Add deprecation annotation
  • Loading branch information
ThaminduR committed Jul 17, 2024
2 parents 8ae2e27 + 7b12864 commit fe55355
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 fe55355

Please sign in to comment.