mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
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:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user