mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 12:02:20 +00:00
Remove deprecated DIR_SEPARATOR and LINE_SEPARATOR (#7641)
Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
This commit is contained in:
2 files changed
-44
No files matched your search
@@ -152,49 +152,11 @@ public class IOUtils {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#DIR_SEPARATOR_UNIX}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final char DIR_SEPARATOR_UNIX = org.apache.commons.io.IOUtils.DIR_SEPARATOR_UNIX;
|
||||
|
||||
/**
|
||||
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#DIR_SEPARATOR_WINDOWS}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final char DIR_SEPARATOR_WINDOWS = org.apache.commons.io.IOUtils.DIR_SEPARATOR_WINDOWS;
|
||||
|
||||
/**
|
||||
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#DIR_SEPARATOR}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final char DIR_SEPARATOR = org.apache.commons.io.IOUtils.DIR_SEPARATOR;
|
||||
|
||||
/**
|
||||
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#LINE_SEPARATOR_UNIX}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String LINE_SEPARATOR_UNIX = org.apache.commons.io.IOUtils.LINE_SEPARATOR_UNIX;
|
||||
|
||||
/**
|
||||
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#LINE_SEPARATOR_WINDOWS}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String LINE_SEPARATOR_WINDOWS = org.apache.commons.io.IOUtils.LINE_SEPARATOR_WINDOWS;
|
||||
|
||||
/**
|
||||
* @deprecated Use instead {@link org.apache.commons.io.IOUtils#LINE_SEPARATOR}
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String LINE_SEPARATOR;
|
||||
|
||||
static {
|
||||
// avoid security issues
|
||||
StringWriter buf = new StringWriter(4);
|
||||
PrintWriter out = new PrintWriter(buf);
|
||||
out.println();
|
||||
LINE_SEPARATOR = buf.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user