mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-12 19:42:20 +00:00
Add @Deprecated annotations to things documented as @deprecated.
This commit is contained in:
1 parent
d7f83ec264
commit
1709ed3a2e
138 files changed
+373
-3
No files matched your search
@@ -367,6 +367,7 @@ public final class FilePath implements Serializable {
|
||||
*
|
||||
* @deprecated as of 1.315. Use {@link #zip(OutputStream)} that has more consistent name.
|
||||
*/
|
||||
@Deprecated
|
||||
public void createZipArchive(OutputStream os) throws IOException, InterruptedException {
|
||||
zip(os);
|
||||
}
|
||||
@@ -411,6 +412,7 @@ public final class FilePath implements Serializable {
|
||||
* @deprecated as of 1.315
|
||||
* Use {@link #zip(OutputStream,String)} that has more consistent name.
|
||||
*/
|
||||
@Deprecated
|
||||
public void createZipArchive(OutputStream os, final String glob) throws IOException, InterruptedException {
|
||||
archive(ArchiverFactory.ZIP,os,glob);
|
||||
}
|
||||
@@ -2337,6 +2339,7 @@ public final class FilePath implements Serializable {
|
||||
* @see #validateFileMask(FilePath, String)
|
||||
* @deprecated use {@link #validateAntFileMask(String, int)} instead
|
||||
*/
|
||||
@Deprecated
|
||||
public String validateAntFileMask(final String fileMasks) throws IOException, InterruptedException {
|
||||
return validateAntFileMask(fileMasks, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user