removed the usage of deprecated methods

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19558 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-07-09 16:34:59 +00:00
1 parent 9e7e52e0c7
commit 285bf38bd8
2 files changed
+2 -2

No files matched your search

@@ -204,7 +204,7 @@ public abstract class FileSystemProvisioner implements ExtensionPoint, Describab
File wss = new File(build.getRootDir(),"workspace.zip");
OutputStream os = new BufferedOutputStream(new FileOutputStream(wss));
try {
ws.createZipArchive(os);
ws.zip(os);
} finally {
os.close();
}