diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java index 7aa35416d47..885905a4b58 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java @@ -46,21 +46,6 @@ public final class ZipUtils { } /** - * Unzip a file into a new temporary directory. The directory is not deleted on JVM exit, so it - * must be explicitely deleted. - * - * @return the temporary directory - * @since 2.2 - * @deprecated since 3.4 use by {@link org.sonar.api.scan.filesystem.ModuleFileSystem#workingDir()} or {@link org.sonar.api.platform.ServerFileSystem#getTempDir} - */ - @Deprecated - public static File unzipToTempDir(File zip) throws IOException { - File toDir = TempFileUtils.createTempDirectory(); - unzip(zip, toDir); - return toDir; - } - - /** * Unzip a file into a directory. The directory is created if it does not exist. * * @return the target directory |