aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-11-06 17:00:27 +0100
committerDavid Gageot <david@gageot.net>2012-11-06 17:02:01 +0100
commitc468d88dc0fa3569c5e36d06bee0b29b43cf4963 (patch)
tree0c5bf794af89d3f81f7c5eec25dc7bdc517a9d67 /sonar-plugin-api
parenta13142773b3cf011c5e39254e45e8cbcdbebe16a (diff)
downloadsonarqube-c468d88dc0fa3569c5e36d06bee0b29b43cf4963.tar.gz
sonarqube-c468d88dc0fa3569c5e36d06bee0b29b43cf4963.zip
SONAR-3399 Move all server-side temporary files to $SONAR_HOME/tmp
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java1
1 files changed, 1 insertions, 0 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 9b7544216fa..bd2d190fac7 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
@@ -42,6 +42,7 @@ public final class ZipUtils {
* must be explicitely deleted.
* @return the temporary directory
* @since 2.2
+ * @deprecated use {@link org.sonar.api.resources.ProjectFileSystem#getSonarWorkingDirectory} or {@link org.sonar.api.platform.ServerFileSystem#getTempDir}
*/
public static File unzipToTempDir(File zip) throws IOException {
File toDir = TempFileUtils.createTempDirectory();